class Slider
- Extends:
- UIComponent
Description:
Slider UI component is used to set value by sliding a thumb (handle) horizontally or vertically. Slider works only with integer numbers, so decimal places will not work.
Constructor
constructor([text])
Slider constructor. Creates an instance of Slider UI component.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
string |
Text of the component. |
Members
- [ readonly ] container
- [ readonly ] id
- [ readonly ] isAdjusting
- [ readonly ] parent
- [ readonly ] screenPosition
Methods
From this class:
- emitWhileSliding()
- inverted()
- majorTickSpacing()
- max()
- min()
- minorTickSpacing()
- orientation()
- showLabels()
- showTicks()
- showTrack()
- snapToTicks()
- value()
Inherited from UIComponent:
- addTo()
- anchor()
- background()
- border()
- bottom()
- center()
- color()
- contextMenu()
- destroy()
- dragAction()
- dragData()
- dragDataType()
- dropAction()
- dropDataType()
- dropMode()
- emit()
- emitFocusKeyEvents()
- enabled()
- focusable()
- focused()
- font()
- getAncestor()
- getWindow()
- height()
- hide()
- index()
- isInside()
- layer()
- maxSize()
- minSize()
- move()
- onAction()
- onAncestorEvents()
- onCaretEvents()
- onChange()
- onComponentEvents()
- onDispose()
- onDragEvents()
- onDropEvents()
- onError()
- onFocusEvents()
- onKey()
- onMouseEvents()
- onMouseMotion()
- onMouseWheel()
- onPropertyChange()
- opacity()
- position()
- remove()
- right()
- size()
- snapshot()
- text()
- tooltip()
- updateUI()
- verifyComponent()
- visible()
- width()
- x()
- y()
