-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Need Polymer.Base.unlisten to remove the event listener #1639
Labels
Comments
This is needed for cases like in |
dfreedm
added a commit
that referenced
this issue
Jun 4, 2015
Keep generated event handlers, attach with WeakMap to host element Add tests for events Fixes #1639
Merged
dfreedm
added a commit
that referenced
this issue
Jun 8, 2015
Keep generated event handlers, attach with WeakMap to host element Add tests for events Support multi-dispatch unlisten (must give event name and handler function name). Fixes #1639
adalinesimonian
added a commit
to adalinesimonian/iron-selector
that referenced
this issue
Jun 12, 2015
Polymer/polymer#1740 adds `unlisten` functionality, thus fixing blocking issue Polymer/polymer#1639. Now `iron-selector` can properly remove the event listener for the old activate event when it is changed instead of being forced to ignore unwanted calls handler calls.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently we have
Polymer.Base.listen
to add an event listener e.g.tap
. But we also needPolymer.Base.unlisten
to remove the event listener.The text was updated successfully, but these errors were encountered: