gov-gui
Version:
Gov UI Component Library Demo ready Build
37 lines (36 loc) • 1.14 kB
TypeScript
import { GlobalProps } from '../../global/global-styles-helper';
import { AnimationProps } from '../../global/animation-helpers';
export declare class GovButton implements GlobalProps, AnimationProps {
isKeyboardNavigable: boolean;
ariaHidden: boolean;
el: HTMLElement;
label: string | number;
icon: string;
hasSuffix: boolean;
hasPrefix: boolean;
size: string;
iconSize: 'sm' | 'md' | 'lg';
type?: string;
variant: string;
clicked?: (event: MouseEvent) => void;
typeVariant: 'button' | 'textButton' | 'iconButton';
disabled: boolean;
classes?: string;
styles?: any;
private _styles;
animation?: string;
animationDelay?: '2s' | '3s' | '4s' | '5s';
animationSpeed?: 'slow' | 'slower' | 'fast' | 'faster';
private allClasses;
private sizes;
private validVariants;
watchAnimations(): void;
watchAnimationsDelay(): void;
watchAnimationsSpeed(): void;
watchStyles(newValue: any): void;
connectedCallback(): void;
componentWillLoad(): void;
provideClass(): void;
handleClick: (event: MouseEvent) => void;
render(): any;
}