@engie-group/fluid-design-system
Version:
The Fluid Design System is ENGIE’s open-source library to create, build and deliver ENGIE digital services in a more efficient way.
32 lines (31 loc) • 1.04 kB
TypeScript
import AbstractComponent from '../../globals/ts/abstract-component';
export default class Slider extends AbstractComponent {
static readonly NAME = "nj-slider";
protected static readonly DATA_KEY = "nj.slider";
private static readonly CLASS_NAME;
protected static readonly SELECTOR: {
default: string;
input: string;
label: string;
};
private static readonly THUMB_WIDTH;
private static readonly DEFAULT_TYPE;
protected static readonly DEFAULT_OPTIONS: {
tooltip: boolean;
};
private static readonly PERCENT_CONV;
private static readonly PSEUDO_ELEMS;
private dataId;
private input;
private tooltip;
private currentProgress;
constructor(element: HTMLElement, options?: {});
private setListeners;
private setTooltipListeners;
private refreshProgressValue;
private refreshTooltipValue;
private static getOptions;
dispose(): void;
static getInstance(element: HTMLElement): Slider;
static init(options?: {}): Slider[];
}