@textbus/editor
Version:
Textbus is a rich text editor and framework that is highly customizable and extensible to achieve rich wysiwyg effects.
12 lines (11 loc) • 325 B
TypeScript
import { AttrState, FormButtonParams, FormItem } from './help';
export declare class FormButton implements FormItem {
private config;
elementRef: HTMLElement;
name: string;
constructor(config: FormButtonParams);
reset(): void;
update(): void;
getAttr(): AttrState<any>;
validate(): boolean;
}