The Twitter Bootstrap Buttons Web Component.
Install the component using Bower:
$ bower install twbs-buttons --saveOr download as ZIP.
- Import Web Components' polyfill:
<script src="bower_components/platform/platform.js"></script>- Import Custom Element:
<link rel="import" href="bower_components/twbs-buttons/src/twbs-buttons.html">- Start using it!
<twbs-buttons></twbs-buttons>| Attribute | Options | Default | Description |
|---|---|---|---|
href |
string | # |
The href attribute specifies the link's destination |
tag |
a, button, input |
button |
Define the tag |
type |
submit, button |
12 |
Define the "input" type |
value |
string | Hello! |
Define the "input" value |
size |
lg, sm, xs |
Button's size | |
block |
block |
block |
Create block level buttons |
state |
active, disabled |
Button will appear pressed or unclickable |
![]() |
![]() |
![]() |
![]() |
![]() |
|---|---|---|---|---|
| IE 10+ ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -m 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
Check Release list.
MIT License © Magno Valdetaro




