You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the last point...we'd want to make sure we don't register a pile of proxies for every matching node. For example, a Delete button on a row of a todo app. (Of course, people should register the handler on the container, but...)
In the proposal, you might write:
@handler( event="mousemove", element=Element("empty_button").element )
Instead, I propose allowing
element: Element | str
. If it is a string, then usedocument.querySelector
. This would have a few benefits:The text was updated successfully, but these errors were encountered: