doc: missing doc for spring option

This commit is contained in:
jean-emmanuel 2017-04-25 16:56:35 +02:00
parent a560dd3485
commit 2e52dd0ec4
2 changed files with 14 additions and 0 deletions

View file

@ -42,6 +42,11 @@ Pads are multidimensional widgets that output multiple values.
- default: `false`
- usage: by default, dragging the widget will modify it's value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position.
#### `spring`
- type: `boolean`
- default: `false`
- usage: when set to `true`, the widget will go back to its initial value when released.
#### `split`
- type: `boolean|object`
- default: `false`

View file

@ -71,6 +71,10 @@ range: {
- default: `false`
- usage: by default, dragging the widget will modify it's value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position.
#### `spring`
- type: `boolean`
- default: `false`
- usage: when set to `true`, the widget will go back to its initial value when released.
#### `meter`
- type: `boolean`
@ -151,6 +155,11 @@ range: {
- default: `false`
- usage: by default, dragging the widget *vertically* will modify it's value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position.
#### `spring`
- type: `boolean`
- default: `false`
- usage: when set to `true`, the widget will go back to its initial value when released.
#### `css`
```
--color-gauge:color;