Closed shamrin closed 7 years ago
We have to sort of come up with a convention here. In the eve syntax, we have
search @event
[#click]
Which would make sense to become [#dom/event/click]
I think we should resist the temptation to be too highly specific with tags though, keeping them shallow and getting more specific with attributes. "dom/event" is probably specific enough a tag, so I agree with the change you've made.
Sorry for late reply! I'm closing this, because the issue was fixed by PR #823 and other changes.
[… on: "mouseenter"]
[#html/event/…]
to[#dom/event, event: …]
events.ts
exampleon
attribute[#html/event/click]
to[#dom/event, event: "click"]
<input>
value (likely in a separate PR)event.remove("tag")
→event.remove()
once PR #797 is part ofrefactor-runtime
branchPR is not finished because I'm not sure about
[#dom/event, event: "click"]
part and about the explicit subscription. Comments?