flight-paper-button
paper-button component build on top of Flight and flight-element, ported from the Polymer element.
<span f-is="paper-button" label="button" raisedButton></span>Alternatively, you can attach the component manually:
FlightPaperButton.attachTo('.paper-button');Once attached, you can interact with the node object directly like Web Components.
var buttonNode = $('.paper-button')[0];
// set label
buttonNode.setAttribute('label', 'foo');
// set z-depth of shadow
buttonNode.z = 2;Demo
Browser Support
Chrome, Firefox, Safari, IE 8+ (less styles and animations for legacy browsers, requires ES5-shim)
License
MIT