UNPKG

@taiga-ui/kit

Version:
20 lines (19 loc) 1.13 kB
import { ChangeDetectorRef, ElementRef } from '@angular/core'; import { NgControl } from '@angular/forms'; import { TuiFocusableElementAccessor, TuiNativeFocusableElement } from '@taiga-ui/cdk'; import { AbstractTuiSlider } from '@taiga-ui/kit/abstract'; import { Observable } from 'rxjs'; export declare class TuiRangeComponent extends AbstractTuiSlider<[number, number]> implements TuiFocusableElementAccessor { private readonly elementRef; constructor(control: NgControl | null, changeDetectorRef: ChangeDetectorRef, documentRef: Document, elementRef: ElementRef<HTMLElement>, fromToTexts$: Observable<[string, string]>); get nativeFocusableElement(): TuiNativeFocusableElement | null; get focused(): boolean; get left(): number; get right(): number; protected getFallbackValue(): [number, number]; protected processStep(increment: boolean, right: boolean): void; protected processValue(value: number, right: boolean): void; protected getCalibratedFractionFromEvents(rect: ClientRect, clientX: number, isMouseDownRight: boolean): number; private updateStart; private updateEnd; }