Constructor
new module:ProgressBar(positionDefinition, optionsopt)
Slider constructor
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
positionDefinition | PositionDefinition | Top-left corner | |
options | ProgressBarOptions | <optional> | Specific options |
Extends
Members
(static) defaultOptions :ProgressBarOptions
Type:
- ProgressBarOptions
(static) HEIGHT :Number
Height of sliders
Type:
- Number
[undefined] :Number
Type:
- Number
- Overrides
- module:Input#[undefined]
height
Return this height
value
Returns this current value
- Overrides
value
Change this current value
- Overrides
width
Return this width
width
Change this size
Type Definitions
ProgressBarOptions
Type:
Properties- Object
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
value | Number | <optional> | 0 | Initial value |
width | Number | <optional> | 200 | Size of the slider |
speed | Number | <optional> | 0.3 | Transition speed between two value (0 mean no change, 1 mean instant change) |