\Kendo\UI\SliderTooltip
A PHP class representing the tooltip setting of Slider.
Methods
enabled
Disables (false) or enables (true) the tooltip of the Slider.
Returns
\Kendo\UI\SliderTooltip
Parameters
$value boolean
Example
<?php
$tooltip = new \Kendo\UI\SliderTooltip();
$tooltip->enabled(true);
?>
format
Format string for the text of the tooltip. Note: The applied format will also influence the appearance of the Slider tick labels.The slider widget supports precision of up-to 10 digits after the decimals point.
Returns
\Kendo\UI\SliderTooltip
Parameters
$value string
Example
<?php
$tooltip = new \Kendo\UI\SliderTooltip();
$tooltip->format('value');
?>
template
Template of the tooltip. The following variables are passed by the Slider and are ready to be used inside the template: value - the current value when using a regular slider or selectionStart and selectionEnd - the current values when using a range slider.
Returns
\Kendo\UI\SliderTooltip
Parameters
$value string|\Kendo\JavaScriptFunction
Example - using string
<?php
$tooltip = new \Kendo\UI\SliderTooltip();
$tooltip->template('value');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$tooltip = new \Kendo\UI\SliderTooltip();
$tooltip->template(new \Kendo\JavaScriptFunction('function() { }'));
?>