PHP Class Prado\Web\UI\WebControls\TSliderClientScript

Client-side slider events {@link setOnChange OnChange} and {@line setOnMove OnMove} can be modified through the {@link TSlider:: getClientSide ClientSide} property of a slider. The current value of the slider can be get in the 'value' js variable The OnMove event is raised when the slider moves The OnChange event is raised when the slider value is changed (or at the end of a move)
Since: 3.1.1
Author: Christophe Boulain ([email protected])
Inheritance: extends Prado\Web\UI\TClientSideOptions
Exibir arquivo Open project: pradosoft/prado

Public Methods

Method Description
getOnChange ( ) : string
getOnSlide ( ) : string
setOnChange ( $javascript ) Javascript code to execute when the slider value is changed.
setOnSlide ( $javascript ) * Javascript code to execute when the slider moves.

Method Details

getOnChange() public method

public getOnChange ( ) : string
return string javascript code to execute when the slider value is changed.

getOnSlide() public method

public getOnSlide ( ) : string
return string javascript code to execute when the slider moves.

setOnChange() public method

Javascript code to execute when the slider value is changed.
public setOnChange ( $javascript )

setOnSlide() public method

* Javascript code to execute when the slider moves.
public setOnSlide ( $javascript )