Skip to content

SliderComponent.setDisplayFormat method

SliderComponent › setDisplayFormat

Official

Set a custom formatter for the value shown inline next to the slider.

Signature:

setDisplayFormat(format: (value: number) => string): this

Parameters:

Parameter Type Description
format (value: number) => string

Returns: this

Since: 1.13.0