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
{{ message }}
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.
We could change the way we do events so that we use
ev-click instead of data-click.
This will mean that from a user point of view
h('div',{ev-focus: fn,data-focus: hook})
Does not cause collisions. They can use both the elem.focus() hook and the focus event handler through dom-delegator.
Other benefits include that we always know properties in ev-* namespace are event handlers so we can invoke dom-delegator functions directly, this will allow dom-delegator to manage lazy event handlers.
We could change the way we do events so that we use
ev-click
instead ofdata-click
.This will mean that from a user point of view
Does not cause collisions. They can use both the
elem.focus()
hook and thefocus
event handler throughdom-delegator
.Other benefits include that we always know properties in
ev-*
namespace are event handlers so we can invoke dom-delegator functions directly, this will allowdom-delegator
to manage lazy event handlers.cc @Matt-Esch
The text was updated successfully, but these errors were encountered: