flight-paper-button

paper-button component built on top of Flight.


Keywords
flight, element, material, paper, button
License
MIT
Install
bower install flight-paper-button

Documentation

flight-paper-button

Build Status

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

demo

Browser Support

Chrome, Firefox, Safari, IE 8+ (less styles and animations for legacy browsers, requires ES5-shim)

License

MIT