-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
This is not an issue but rather a feature discussion.
Very often, listener receive a DOMEvent and in a typical javascript application, we would use e.target to get the target of the event and do things with it. I was thinking that DOMEvent could be made generic, as in DOMEvent<TargetType> to avoid needing casts when using e.target.
This, however, has impact on a big part of the API so I don't know if it is a good solution.
Metadata
Metadata
Assignees
Labels
No labels