buttons: add led option to toggle, remove useless .light dom elements
This commit is contained in:
parent
513eda1af2
commit
1be9cecaa7
7 changed files with 58 additions and 29 deletions
|
|
@ -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`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue