778 B
778 B
Slider : VisualElement
Properties
| Property | Type | Default | Description |
|---|---|---|---|
| step | number | 1 | Current step position (1 to width/height) |
| max | number | 100 | Maximum value for value conversion |
| horizontal | boolean | true | Whether the slider is horizontal |
| barColor | color | color | Colors for the slider bar |
| sliderColor | color | The | color of the slider handle |
Functions
| Method | Returns | Description |
|---|---|---|
| Slider.new | - | |
| Slider:getValue | - | |
| Slider:init | - | |
| Slider:mouse_click | - | |
| Slider:mouse_scroll | - | |
| Slider:render | - |