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

Support event delegation to subscribeTo() #94

Open
maberer opened this issue Sep 22, 2015 · 0 comments
Open

Support event delegation to subscribeTo() #94

maberer opened this issue Sep 22, 2015 · 0 comments

Comments

@maberer
Copy link
Contributor

maberer commented Sep 22, 2015

Add support for delegation of events when using subscribeTo()

this.subscribeTo(DOMElement|Widget, eventName, nameOfHandlerFunction|Function)

Without event delegation/bubbling of events, adding listeners could become costly...

This is even worse, since client side rendering requires you to add listeners via JavaScript (there is no way to use the more performant declarative events in this case)

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

No branches or pull requests

2 participants