buttons: add led option to toggle, remove useless .light dom elements

This commit is contained in:
jean-emmanuel 2017-07-13 10:35:55 +02:00
parent 513eda1af2
commit 1be9cecaa7
7 changed files with 58 additions and 29 deletions

View file

@ -12,6 +12,11 @@ Buttons are exactly what you think they are.
}
```
### `led`
- type: `boolean`
- default: `false`
- usage: set to `true` to display the toggle's state with a led
### `on`
- type: `string|number|object`
- default: `1`