Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

Can not bind to snake-case Polymer events with on-<event> #1478

Closed
jbdeboer opened this issue Sep 18, 2014 · 0 comments
Closed

Can not bind to snake-case Polymer events with on-<event> #1478

jbdeboer opened this issue Sep 18, 2014 · 0 comments

Comments

@jbdeboer
Copy link
Contributor

Right now, we listen to the "coreSelected" event (camelCased) when a template adds a on-core-selected attribute.

Polymer, at least, uses snake-casing for their event names. In order to support those events, we should listen to "core-selected" instead of "coreSelected".

e.g. <paper-dropdown on-core-selected="ctrl.action()">

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

No branches or pull requests

1 participant