We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
upgrading from version 0.3.4 to 0.3.5 break tap events for SVG elements. Here's an example:
<polymer-element name="test-tap"> <template> <div on-tap="{{onTap}}" on-click="{{onClick}}">Click me! I'm a div</div> <svg> <circle cx="10" cy="10" r="2" fill="red" on-tap="{{onTap2}}" on-click="{{onClick2}}"/> </svg> </template> <script> (function(){ Polymer('test-tap', { created: function(){ }, ready: function(){ }, onTap: function(){ console.log('tapped on div'); }, onTap2: function(){ console.log('tapped on circle'); }, onClick: function(){ console.log('clicked on div'); }, onClick2: function(){ console.log('clicked on circle'); } }); }()); </script> </polymer-element>
By clicking on the DIV and on the CIRCLE you will see that only the DIV gets two console.log, one for the click and one for the tap event.
The text was updated successfully, but these errors were encountered:
googlearchive/polymer-gestures@60f7e32
dfreedm
No branches or pull requests
upgrading from version 0.3.4 to 0.3.5 break tap events for SVG elements.
Here's an example:
By clicking on the DIV and on the CIRCLE you will see that only the DIV gets two console.log, one for the click and one for the tap event.
The text was updated successfully, but these errors were encountered: