Commit graph

7 commits

Author SHA1 Message Date
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
b060b5eb09
Add listener.text helper 2021-12-26 17:49:17 +01:00
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
5036259d75 Add support for HTML elements to listener binding 2021-11-24 16:16:04 +01:00
945736b9a9 Add bind function to listener.js 2021-11-23 16:30:11 +01:00
fbb9bea3c0
Add example to listener documentation 2021-10-19 20:36:59 +02:00
c93b5632de
Write documentation for listener, speaker and skooma 2021-09-13 22:20:03 +02:00