Closed govis closed 7 years ago
Need to suppress the default IronButtonState tap handler to manually control toggle button's active state. Setting event.preventDefault(); appears to have no effect.
IronButtonState
active
event.preventDefault();
paper-button version 2.0.0 (2.0-preview)
No change in button color
Button changes color
http://jsbin.com/dotekucewe/edit?html,console,output
Click the button
Being able to data-bind the active attribute as per #166 would be more useful.
Description
Need to suppress the default
IronButtonState
tap handler to manually control toggle button'sactive
state. Settingevent.preventDefault();
appears to have no effect.paper-button version 2.0.0 (2.0-preview)
Expected outcome
No change in button color
Actual outcome
Button changes color
Live Demo
http://jsbin.com/dotekucewe/edit?html,console,output
Steps to reproduce
Click the button
Browsers Affected