Configuration tooltip

Specifies options for the slider tooltip.

Type: Object


Specifies whether or not the tooltip is enabled.

Type: Boolean
Default Value: false


Specifies format for the tooltip.

Type: String| function
Default Value: function(value) { return value }

A function passed to this option should take on a numeric value and return the formatted value. For instance, you can add a "$" sign before a value. In this case the function passed to the format option should look like the following.

function(value) {
    return "$" + value;

You can also pass a string satisfying Globalize format patterns to the format option.

NOTE: If you set this option to 'currency', the tooltip will be formatted according to the settings specified for the current culture in the globalize library. To provide a custom 'currency' format, assign a function to this option.


Specifies whether the tooltip is located over or under the slider.

Type: String
Default Value: 'top'
Accepted Values: 'top' | 'bottom'


Specifies whether the widget always shows a tooltip or only when a pointer is over the slider.

Type: String
Default Value: 'onHover'
Accepted Values: 'onHover' | 'always'