Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.
Karl edited this page Apr 11, 2018 · 4 revisions

Type: Mixed

Single

Sets the initial value. If no value is passed, the input element's value property will be used. If both are undefined, the value will be set to the halfway point between the min and max values.

Multiple

When using the multiple option, you need to pass two values as an array.

Defaults to the min and max values.

// set the first handle at 10 and the second handle to 80
new Rangeable(input, {
    multiple: true,
    value: [10, 80]
});
Clone this wiki locally