diff --git a/resources/docs/user-guide/widgets-specifics/pads.md b/resources/docs/user-guide/widgets-specifics/pads.md index 57983500..cd7b1568 100644 --- a/resources/docs/user-guide/widgets-specifics/pads.md +++ b/resources/docs/user-guide/widgets-specifics/pads.md @@ -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` diff --git a/resources/docs/user-guide/widgets-specifics/sliders.md b/resources/docs/user-guide/widgets-specifics/sliders.md index 0f75d171..8c71fd91 100644 --- a/resources/docs/user-guide/widgets-specifics/sliders.md +++ b/resources/docs/user-guide/widgets-specifics/sliders.md @@ -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;