dhx.ui.slider
Type: Component
File:
Based on:
dhx.ui.button
,
dhx.ui.view
,
dhx.ui.baseview
,
dhx.Settings
,
dhx.Destruction
,
dhx.BaseBind
,
dhx.AtomRender
,
dhx.Settings
,
dhx.EventSystem
Included in:
Methods
adjust
- adjusts the component to the size of the outer parent
HTML
container
attachEvent
- attaches custom handler to inner event
bind
- binds components
blockEvent
- blocks event triggering
callEvent
- calls inner event
define
- sets configuration property or a hash of properties
destructor
- destructs an object
detachEvent
- detaches custom code from handler
focus
- moves focus to the input
getInput
- returns input html object
getNode
- returns main html container of view
getParent
- returns parent object of current view
getValue
- returns current value
hasEvent
- checks whether a component has an event
hide
- hides view
isVisible
- returns true if current view is visible
mapEvent
- routes events from one object to another
refresh
- repaints input
render
- renders a single item
resize
- adjusts view to the new size
setSliderTitle
- sets the title of the control
setValue
- sets a new value for the button
show
- makes view visible
unblockEvent
- enables event triggering
Events
onSlideStep
- fires when you move the slader knob
onafterrender
- fires after view was rendered
onbeforerender
- fires before view rendering is initiated
onchange
- occurs when the value of a button changes.
Properties
animate
- defines animation on view change (object with direction, type and subtype properties) or disables animation (false)
container
- html container or its id where view needs initializing
css
- class name for view container
gravity
- view gravity (1 by default)
height
- view height
hidden
- sets whether a view will be hidden initially
id
- view id
inputHeight
- the height of the control
inputWidth
- the width of control.
labelWidth
- the width of label.
label
- text label of control
max
- the maximum value of the scale. Default value - 100. Ignored if the parameter
options
is set.
min
- the minimum value of the scale. Default value - 0. Ignored if the parameter
options
is set.
on
- allows to attach custom handlers to inner events of the component
popup
- allows to attach pop-up menu to the button
scroll
- enables scrolling
slide
- the function which will be executed on sliding motion.
step
- the step of the scale. Default value - 1. Ignored if the parameter
options
is set.
template
- item template
type
- type of control
value
- sets the value of the control
width
- view width