PolymerElements / paper-button

A button à la Material Design
https://www.webcomponents.org/element/PolymerElements/paper-button
138 stars 64 forks source link

Some focus-related cleanup. #20

Closed cdata closed 9 years ago

cdata commented 9 years ago

/cc @notwaldorf @morethanreal

notwaldorf commented 9 years ago

lgtm

notwaldorf commented 9 years ago

Well that didn't do what I wanted it to do. I merged this because it looked good, but I unmerged it because I think paper-button still needs to listen tocall_changedControlState, or else something like document.querySelectorAll('paper-button')[6].disabled = true` in the demo won't work (even though disabled, the raised button won't get flattened)

But I did all of this before coffee so 😶🔫