Directory

wired-button - Vaadin Add-on Directory

Hand-drawn sketchy Button web component wired-button - Vaadin Add-on Directory
**[ This description is mirrored from README.md at [github.com/wiredjs/wired-button](https://github.com//wiredjs/wired-button/blob/v0.5.1/README.md) on 2019-05-22 ]** ![wired buttons](https://wiredjs.github.io/wired-elements/images/buttons.png) # wired-button Hand-drawn sketchy Button web component. For demo and view the complete set of wired-elememts: [wiredjs.com](http://wiredjs.com/) Learn about web components [here](https://www.webcomponents.org/introduction). ## Usage Add wired-button to your project: ``` npm i wired-button ``` Import wired-button definition into your HTML page: ```html ``` Or into your module script: ```javascript import { WiredButton } from "wired-button" ``` Use it in your web page: ```html Click Me Disabled Elevation ``` ### Properties **elevation** - Number between 1 and 5 (inclusive) that gives the button a sketchy height. Default value is 1. **disabled** - disables the button. Default value is false.