PolymerElements / paper-button

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

Remove button is property for now. #3

Closed cdata closed 9 years ago

nevir commented 9 years ago

Is it being inferred now, or something?

On Sat, Apr 25, 2015, 9:54 AM Christopher Joel notifications@github.com wrote:

Merged #3 https://github.com/PolymerElements/paper-button/pull/3.

— Reply to this email directly or view it on GitHub https://github.com/PolymerElements/paper-button/pull/3#event-290004856.

cdata commented 9 years ago

@sjmiles can clarify, but my understanding is that a secret power of dom-module is that if you use Polymer to register the element inside of it, the is becomes optional. This comes with side-effects / caveats, of course. What happens when the script is externalized? How do tools know what element is being registered without also parsing surrounding HTML?

cdata commented 9 years ago

Also, for the record, this is just reversing / fixing the accidentally-merged polymerelements/paper-button#2