Talia
b060b5eb09
Add listener.text helper
2021-12-26 17:49:17 +01:00
Talia
cf116753a8
Add current property to skooma bound elements
...
Elements bound witht he skooma bind function now get a `current`
property patched in.
2021-11-25 10:54:34 +01:00
Talia
cabf557569
Split ImmediateSpeaker into separate class
2021-11-25 10:37:16 +01:00
Talia
738d6ca493
Officially add the initial state argument to speaker
2021-11-25 10:20:31 +01:00
Talia
d1c22234c3
Add the skooma bind function
2021-11-25 10:08:59 +01:00
Talia
f612273632
Rename bind to bindContent in listener.js
...
This is partly to avoid confusion with the skooma `bind` function,
but also to make it clearer that only the inner content of an element is
being bound to the listener.
This function may also disappear entirely in the future if it turns out
it doesn't provide any benefits over the skooma bind function.
2021-11-25 10:08:52 +01:00
Talia
8161b80081
Make the speaker retain its last spoken message
2021-11-25 10:04:27 +01:00
Talia
5036259d75
Add support for HTML elements to listener binding
2021-11-24 16:16:04 +01:00
Talia
945736b9a9
Add bind function to listener.js
2021-11-23 16:30:11 +01:00
Talia
658608a405
Add text wrapper to skooma.js
2021-11-23 16:27:25 +01:00
Talia
34cac3913f
Add use.whenReady function
2021-11-03 20:51:17 +01:00
Talia
797b6448c8
Add Use helper
...
This should finally solve the question of how to pull behaviour defined
in JS modules into static HTML without bending over backwards.
2021-11-02 18:38:02 +01:00
Talia
f209112f58
Add markdown file documenting css.js features
2021-10-19 20:37:04 +02:00
Talia
f5f3794006
Switch camel-to-kebab case convertion in v helper
...
Calling as a function will no longer do the transformation, but instead
indexing the proxy will do this now.
2021-10-19 20:37:04 +02:00
Talia
b5ab9fafdb
Remove CSS style function
...
This function had overlap with skooma.js and was thus removed.
Use skooma instead.
2021-10-19 20:37:04 +02:00
Talia
46220c927b
Fix typo error in css.js
2021-10-19 20:37:04 +02:00
Talia
f877be4806
Add $ and _ handling in CSS
2021-10-19 20:37:04 +02:00
Talia
13f8ba591a
Add `__raw` property to listener proxies
2021-10-19 20:37:04 +02:00
Talia
be61a88f55
Add examples for Speaker
2021-10-19 20:37:03 +02:00
Talia
649286dcdf
Fix bug in speaker
2021-10-19 20:37:03 +02:00
Talia
fbb9bea3c0
Add example to listener documentation
2021-10-19 20:36:59 +02:00
Talia
b28dd09709
Add old value as third parameter to listener callbacks
2021-10-19 18:08:22 +02:00
Talia
fd58f3b437
Add `handle` helper function to skooma
2021-10-05 19:28:36 +02:00
Talia
fdbae44a8f
Add simple ULID generator
2021-09-20 20:48:55 +02:00
Talia
95683894bc
Add ObjectStorage object implementing Storage API
2021-09-20 11:39:29 +02:00
Talia
22ef3ae3c5
Add more examples to show off skooma's features
2021-09-13 22:38:25 +02:00
Talia
c93b5632de
Write documentation for listener, speaker and skooma
2021-09-13 22:20:03 +02:00
Talia
a5934d7b82
Add speaker to readme
2021-09-13 19:51:57 +02:00
Talia
a303a83ad7
Add support for repeated callbacks to listener
...
It is now possible to attach several callbacks to the same prop on a
single listener object.
2021-09-13 19:21:00 +02:00
Talia
7a061b10d5
Add speaker class, completing the black hand
2021-09-13 18:54:32 +02:00
Talia
95c6540ba2
Add support for initialisation function to skooma
2021-09-13 18:54:07 +02:00
Talia
12edc1890e
Add special case for dataset to skooma templating
2021-09-13 14:15:20 +02:00
Talia
bf50ea22dc
Remove preventDefault from inline event listeners
2021-09-10 13:31:44 +02:00
Talia
3c50558773
Add prommise support to skooma
2021-08-27 16:03:04 +02:00
Talia
545d6afa0e
Change CSS variable helper to proxy
2021-08-18 11:57:07 +02:00
Talia
05a673cb59
Add CSS variable helper function
2021-08-18 11:25:32 +02:00
Talia
7b29582c8c
Add description of what everything does to readme.
2021-08-16 19:40:03 +02:00
Talia
75099da695
Add css attribute name hyphenation
2021-08-16 19:31:52 +02:00
Talia
8c0c4f5614
Fix typo in skooma
2021-08-16 19:26:45 +02:00
Talia
2aff89d173
Add CSS builder
2021-08-16 19:17:04 +02:00
Talia
326a17f4e1
Improve skooma attribute handling
2021-08-16 18:03:43 +02:00
Talia
864cf22f5f
Add skooma style property for setting inline styles
2021-08-16 17:59:24 +02:00
Talia
0d547a3ceb
Add `has` metamethod to proxies
...
This change allows proxies to be used with `with` for easier HTML/SVG
generation.
2021-08-04 17:05:07 +02:00
Talia
736f850dd7
Rework attribute handling in Better
2021-08-03 16:32:19 +02:00
Talia
73a6c6767d
Add disconnected handling parallel to connected
2021-08-03 14:42:40 +02:00
Talia
d620c8528a
Fix typo in onConnect method name
2021-08-02 23:00:33 +02:00
Talia
7a299cf07c
Add properties static property to avoid empty xChanged methods
2021-08-02 22:58:52 +02:00
Talia
57dacb29c0
Add onConnect callback to Better
2021-08-02 22:44:51 +02:00
Talia
f2f4c03d69
Make name filtering exclusive to HTML nodes
2021-07-30 12:12:00 +02:00
Talia
a9c4877198
Add special shadowRoot semantics
2021-07-21 12:19:10 +02:00