From 2e52dd0ec47cf29bee940f785f276b612487552a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 25 Apr 2017 16:56:35 +0200 Subject: [PATCH] doc: missing doc for spring option --- resources/docs/user-guide/widgets-specifics/pads.md | 5 +++++ resources/docs/user-guide/widgets-specifics/sliders.md | 9 +++++++++ 2 files changed, 14 insertions(+) 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;