@textbus/editor
Version:
Textbus is a rich text editor and framework that is highly customizable and extensible to achieve rich wysiwyg effects.
17 lines (16 loc) • 501 B
TypeScript
import { AttrState, FormTextFieldParams, FormItem } from './help';
export declare class FormTextField implements FormItem<string | string[]> {
private config;
elementRef: HTMLDivElement;
name: string;
private input;
private sub?;
private readonly btn?;
private readonly feedbackEle;
constructor(config: FormTextFieldParams);
reset(): void;
update(value?: any): void;
getAttr(): AttrState<string | string[]>;
validate(): boolean;
private uploaded;
}