UNPKG

@gf-ui/components

Version:
50 lines (49 loc) 1.29 kB
import { EventEmitter } from '../../stencil-public-runtime'; import type { status } from "../../types/var"; export declare class GfInput { disabled: boolean; clearable: boolean; value: string; type: string; maxlength?: number; status: status; iconFontSize: number; iconColor: string; placeholder: string; autofocus: boolean; resize: string; minRows: number | string; maxRows: number | string; rows: number | string; autosize: boolean; curentValue: string; calculateStyle: { resize: string; }; private isComposing; private nativeInput?; watchPropHandler(newValue: string): void; componentWillLoad(): void; componentDidLoad(): void; disconnectedCallback(): void; eventFocus: EventEmitter<FocusEvent>; private handleFocus; eventBlur: EventEmitter<HTMLAreaElement>; private handleBlur; eventInput: EventEmitter<string>; private handleInput; eventChange: EventEmitter<string>; private handleChange; private eventClear; private handClearClick; private setCurrentValue; private handleCompositionStart; private handleCompositionEnd; private onKeydown; private resizeTextarea; private getClearInstance; private getStatusInstance; private getMaxLengthInstance; private getInputInstance; render(): any; }