Name: vaadin-button
Owner: Vaadin
Description: The Web Component for customized buttons. Part of the Vaadin components.
Created: 2017-02-02 14:54:47.0
Updated: 2018-05-23 09:23:02.0
Pushed: 2018-05-23 09:23:09.0
Homepage: https://vaadin.com/components
Size: 1026
Language: HTML
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Live Demo ? | API documentation ?
<vaadin-button> is a Polymer 2 element providing an accessible and customizable button, part of the Vaadin components.
din-button theme="primary">Primary</vaadin-button>
din-button theme="secondary">Secondary</vaadin-button>
din-button theme="tertiary">Tertiary</vaadin-button>
Vaadin components use the Lumo theme by default.
src/vaadin-button.html
Unstyled component.
theme/lumo/vaadin-button.html
Component with Lumo theme.
vaadin-button.html
Alias for theme/lumo/vaadin-button.html
Fork the vaadin-button
repository and clone it locally.
Make sure you have npm installed.
When in the vaadin-button
directory, run npm install
and then bower install
to install dependencies.
Run polymer serve --open
, browser will automatically open the component API documentation.
You can also open demo or in-browser tests by adding demo or test to the URL, for example:
http://127.0.0.1:8080/components/vaadin-button/demo
http://127.0.0.1:8080/components/vaadin-button/test
vaadin-button
directory, run polymer test
We are using ESLint for linting JavaScript code. You can check if your code is following our standards by running gulp lint
, which will automatically lint all .js
files as well as JavaScript snippets inside .html
files.
gulp lint
polymer test
Apache License 2.0
Vaadin collects development time usage statistics to improve this product. For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.