UNPKG

@textbus/editor

Version:

Textbus is a rich text editor and framework that is highly customizable and extensible to achieve rich wysiwyg effects.

14 lines (13 loc) 405 B
import { FormSwitchParams, AttrState, FormItem } from './help'; export declare class FormSwitch implements FormItem<boolean> { private config; elementRef: HTMLDivElement; name: string; private input; private readonly feedbackEle; constructor(config: FormSwitchParams); reset(): void; update(value?: any): void; getAttr(): AttrState<boolean>; validate(): boolean; }