This repository was archived by the owner on Dec 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
value
Karl edited this page Apr 11, 2018
·
4 revisions
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.
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]
});