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
Currently, SeqFlow forces us to use { el: button } to attach an event handler to a HTMLElement. While this is technically correct, it is not developer-friendly.
SeqFlow already uses key for other purposes; we can use { key: 'incrementButton' } to specify the element you want to attach to the handler.
NB: it seems easy to implement, but it could be tricky when you use the domEvent method after replaceChild on the same element. What should happen in that case?
The text was updated successfully, but these errors were encountered:
Currently,
SeqFlow
forces us to use{ el: button }
to attach an event handler to a HTMLElement. While this is technically correct, it is not developer-friendly.SeqFlow
already useskey
for other purposes; we can use{ key: 'incrementButton' }
to specify the element you want to attach to the handler.NB: it seems easy to implement, but it could be tricky when you use the
domEvent
method afterreplaceChild
on the same element. What should happen in that case?The text was updated successfully, but these errors were encountered: