githubEdit

rangeSlider

The live rangeSlider field uses the ion.rangeSlider jQuery plugin.

Source Reference

Vue-form-generator: https://vue-generators.gitbook.io/vue-generators/fields/optional_fields/sliderarrow-up-right

ion.rangeSlider.js: http://ionden.com/a/plugins/ion.rangeSlider/index.htmlarrow-up-right

"Range Slider Element"

Add the CDN references below into the DOM Header Insertions section of your site.

Common Configuration Properties

Property
Type
Description

type

String

Must be "rangeSlider"

label

String

Field label

model

String

Model key that stores either a single number or a two-item array

placeholder

String

Placeholder text

disabled

Boolean

Disables the control

readonly

Boolean

Makes the input read-only

fieldOptions

Object

Options passed directly into $(el).ionRangeSlider(...)

Example Schema Snippet

Runtime Notes

  • The component requires the ion.rangeSlider library to be loaded globally.

  • fieldOptions.type defaults to "single" if you do not provide it.

  • When the slider type is "double", the model is written as [from, to].

  • Otherwise, the model is written as a single numeric value.

Theming

see docs for theming info here: http://ionden.com/a/plugins/ion.rangeSlider/skins.htmlarrow-up-right

Use key "skin" to change theme.

Last updated

Was this helpful?