Usage (signatures)
board.create('htmlslider', [position, range]);
Parameters
| Name | Type | Description |
|---|---|---|
position |
Array | Position of the slider, array of length two. |
range |
Array | Range of the slider (begin, start value, end). |
Example
var s = board.create('htmlslider', [[-3, 1], [-1, 1, 5]]);
board.create('point', [() => s.Value(), - 2]);
Attributes
Own
step
- Description
Step size of the slider
- Type
- Number
- Default Value
- 0.01
- Source
- options.js, line 6180
widthOut
- Description
Set the width of the DOM sub-element
outshowing the value of the slider Accessible with JavaScript aselement.rendNodeOut.- Type
- Number
- Default Value
- 34
- Source
- options.js, line 6169
widthRange
- Description
Set the width of the DOM sub-element
<input type="range">. Accessible with JavaScript aselement.rendNodeRange.- Type
- Number
- Default Value
- 100
- Source
- options.js, line 6158
Inherited
Members
Own
none
Inherited
Methods
Own
Value()
Get the actual value of the HTML slider.
Returns
Number
Details
- Source
- base/text.js, line 1850
Inherited
Events
Own
none