gov-gui
Version:
Gov UI Component Library Typscript Build
22 lines (21 loc) • 677 B
TypeScript
import { AnimationProps } from '../../global/animation-helpers';
export declare class MyDropdown implements AnimationProps {
heading: string;
subtitle: string;
options: string | string[];
parsedOptions: string[];
isOpen: boolean;
selectedOption: string;
animation?: string;
animationDelay?: '2s' | '3s' | '4s' | '5s';
animationSpeed?: 'slow' | 'slower' | 'fast' | 'faster';
private allClasses;
watchAnimations(): void;
watchAnimationsDelay(): void;
watchAnimationsSpeed(): void;
componentWillLoad(): void;
provideClass(): void;
toggleDropdown(): void;
selectOption(option: string): void;
render(): any;
}