UNPKG

@cbpds/web-components

Version:
31 lines (30 loc) 822 B
import { EventEmitter } from '../../stencil-public-runtime'; export declare class CbpFileInput { private formField; private initialValue; host: HTMLElement; name: string; fieldId: string; multiple: boolean; accept: string; enhanced: boolean; status: any; error: boolean; disabled: boolean; context: 'light-inverts' | 'light-always' | 'dark-inverts' | 'dark-always'; sx: any; files: File[]; valueChange: EventEmitter; handleChange(e: any): void; reset(): Promise<void>; getData(): Promise<{ host: HTMLElement; name: string; files: File[]; }>; watchDisabledHandler(newValue: boolean): void; watchStatusHandler(newValue: any): void; handleDelete(e: any): void; componentWillLoad(): void; render(): any; }