javascript - Polymer: on-click event works in IE but not Chrome. How to fix? -
i have on-click event on iron-icon works fine in ie not chrome. why wont work?
<iron-icon icon="icons:foose" **on-click="dosomething"** hidden$="{{!foo.opened}}"></iron-icon> <iron-icon icon="icons:ball" hidden$="{{foo.opened}}"></iron-icon>
try substituting on-click on-tap, polymer docs recommend using polymer gestures instead of mouse/touch events reliable cross-platform results. https://www.polymer-project.org/1.0/docs/devguide/events.html#gestures
Comments
Post a Comment