UNPKG

gov-gui

Version:

Gov UI Component Library Typscript Build

23 lines (22 loc) 727 B
import { EventEmitter } from '../../stencil-public-runtime'; import { AnimationProps } from '../../global/animation-helpers'; export declare class GovSwitcher implements AnimationProps { isOn: boolean; showLabel: boolean; hasIcons: boolean; disabled: boolean; size: 'small' | 'medium'; toggled: EventEmitter<boolean>; animation?: string; animationDelay?: '2s' | '3s' | '4s' | '5s'; animationSpeed?: 'slow' | 'slower' | 'fast' | 'faster'; private allClasses; watchAnimations(): void; watchAnimationsDelay(): void; watchAnimationsSpeed(): void; toggle: () => void; handleisOnChange(): void; componentWillLoad(): void; provideClass(): void; render(): any; }