Closed
Description
In order to simplify event listeners in our TEA example apps,
I'm thinking that adding an onclick
attribute to a given node and passing in the signal(action)
is the simplest way of keeping the view declarative.
This will be useful for both "delete" a todo item (which is a button) and incrementing a counter.
-
add_attribute([function])
>>onclick=signal(action)