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

Popular posts from this blog

1111. appearing after print sequence - php -

excel - I can't get the attachement of the email PHP -

node.js - Express and Redis - If session exists for this user, don't allow access -