UNPKG

gov-gui

Version:

Gov UI Component Library Typscript Build

31 lines (30 loc) 940 B
import { EventEmitter } from '../../stencil-public-runtime'; import { AnimationProps } from '../../global/animation-helpers'; export declare class GovSlider implements AnimationProps { hostElement: HTMLElement; private sliderTrack; min: number; max: number; step: number; label: string; value: number; isDragging: boolean; sliderChange: EventEmitter<number>; animation?: string; animationDelay?: '2s' | '3s' | '4s' | '5s'; animationSpeed?: 'slow' | 'slower' | 'fast' | 'faster'; private allClasses; watchAnimations(): void; watchAnimationsDelay(): void; watchAnimationsSpeed(): void; validateMin(newMin: number): void; validateMax(newMax: number): void; validateValue(newValue: number): void; private clampValue; private startDrag; private handleMove; private stopDrag; componentWillLoad(): void; provideClass(): void; render(): any; }