Commit Graph

8 Commits

Author SHA1 Message Date
Talia ca600401ed Document listener 2022-03-17 09:49:57 +01:00
Talia 4a473df213
Remove listener.bindContent function
Not only was this function really ugly and complicated to use, it also
does essentially the same as the new listener.text function.
2021-12-26 17:49:49 +01:00
Talia b060b5eb09
Add listener.text helper 2021-12-26 17:49:17 +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 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 fbb9bea3c0
Add example to listener documentation 2021-10-19 20:36:59 +02:00
Talia c93b5632de
Write documentation for listener, speaker and skooma 2021-09-13 22:20:03 +02:00