Commit Graph

8 Commits

Author SHA1 Message Date
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 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 13f8ba591a
Add `__raw` property to listener proxies 2021-10-19 20:37:04 +02:00
Talia b28dd09709
Add old value as third parameter to listener callbacks 2021-10-19 18:08:22 +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 523a720196 Add comments documenting what stuff does 2021-06-23 16:21:33 +02:00
Talia 5cf868a904 Add listener.js 2021-06-23 16:04:33 +02:00