Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for event propagation #48

Open
justinfagnani opened this issue Nov 19, 2021 · 0 comments
Open

Add support for event propagation #48

justinfagnani opened this issue Nov 19, 2021 · 0 comments

Comments

@justinfagnani
Copy link

I need to emulate part of the DOM along with event dispatch and propagation. While the DOM EventTarget class doesn't support this as a public interface, it would be great to be able to use this shim and provide the EventTarget class with a parent reference so that the dispatch algorithm could be implemented.

To keep from creating a non-standard interface on EventTarget itself there could be a utility function like setEventTargetParent() which sets an internal field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant