Constructor
#
new module:Slider(positionDefinition, optionsopt)
Parameters:
Name |
Type |
Attributes |
Description |
positionDefinition |
PositionDefinition
|
|
Top-left corner |
options |
SliderOptions
|
<optional>
|
Specific options |
Extends
Members
#
(static) defaultOptions :SliderOptions
#
(static) HEIGHT :Number
#
height
Return this slider's height
#
value
Returns this current value
#
value
Change this current value
#
width
Change this slider's size
#
width
Return this slider's width
Type Definitions
#
SliderOptions
Properties
Name |
Type |
Attributes |
Default |
Description |
min |
Number
|
<optional>
|
0
|
Minimum value when the slider is at lowest |
max |
Number
|
<optional>
|
10
|
Maximum value when the slider is at highest |
value |
Number
|
<optional>
|
0
|
Initial value |
width |
Number
|
<optional>
|
200
|
Size of the slider |