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
setValue()
Karl edited this page Apr 11, 2018
·
6 revisions
Set the value of the instance.
Just pass a value as the first parameter to set the range to what you want.
// Set the value to 25
rangeable.setValue(25);If the instance is using the multiple option, you can tell it which value to set by passing the index as the second parameter:
// Set the first value to 12
rangeable.setValue(12, 0);
// Set the second value to 64
rangeable.setValue(64, 1);