Skip to main content

SliderComponent

Extends ValueComponent<number>

Constructor#

constructor(containerEl: HTMLElement);

Properties#

sliderEl#

sliderEl: HTMLInputElement

Methods#

setDisabled#

setDisabled(disabled: boolean): this;

setLimits#

setLimits(min: number, max: number, step: number | 'any'): this;

getValue#

getValue(): number;

setValue#

setValue(value: number): this;

getValuePretty#

getValuePretty(): string;

setDynamicTooltip#

setDynamicTooltip(): this;

showTooltip#

showTooltip(): void;

onChange#

onChange(callback: (value: number) => any): this;