Class s7sdk.event.SliderEvent
Dispatched by slider based components whenever particular actions have occurred. Certain
slider based components include the VideoScrubber
and MutableVolume
components.
Constructor Attributes | Constructor Name and Description |
---|---|
s7sdk.event.SliderEvent(type, position, bubbles)
|
Field Attributes | Field Name and Description |
---|---|
<static> |
s7sdk.event.SliderEvent.NOTF_SLIDER_DOWN
This type is dispatched whenever the slider thumb has been pressed down by either a
mouse click or a finger tap.
|
<static> |
s7sdk.event.SliderEvent.NOTF_SLIDER_MOVE
This type is dispatched whenever the slider thumb has moved to a new position.
|
<static> |
s7sdk.event.SliderEvent.NOTF_SLIDER_UP
This type is dispatched whenever the slider thumb has been released by either a
mouse click or a finger tap.
|
Class Detail
s7sdk.event.SliderEvent(type, position, bubbles)
- Parameters:
- {String} type
- Defines the value of the type property.
- {Number} position
- Current slider position (from 0 to 1).
- {Boolean} bubbles
- Defines whether the event will bubble.
Field Detail
<static>
s7sdk.event.SliderEvent.NOTF_SLIDER_DOWN
This type is dispatched whenever the slider thumb has been pressed down by either a
mouse click or a finger tap.
<static>
s7sdk.event.SliderEvent.NOTF_SLIDER_MOVE
This type is dispatched whenever the slider thumb has moved to a new position. If live
dragging is taking place, then multiple events will be dispatched as the thumb moves.
<static>
s7sdk.event.SliderEvent.NOTF_SLIDER_UP
This type is dispatched whenever the slider thumb has been released by either a
mouse click or a finger tap.