-
-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
Description
Can we support any on* handlers on any element?
- Use a namespaced attribute in html to know that it's lua? e.g.
<button lua:onclick="foo()"> - Use a mutation observer to watch for adding/removal of the
:on*properties - Would mean that at load time we have to iterate every element to check for attributes: is that too expensive?
- The query selector
[attr^=val]is for the value starting with 'val', not attribute names starting with 'val'.
- The query selector