@tuoyuan/web-plus-dev
Version:
基于arco-design的配置化表格表单组件
13 lines (12 loc) • 442 B
TypeScript
import type { IButtonMenu, IDomEditor } from "@wangeditor/editor";
declare class MyButtonMenu implements IButtonMenu {
title: string;
tag: string;
alwaysEnable: boolean;
constructor();
getValue(editor: IDomEditor): string | boolean;
isActive(editor: IDomEditor): boolean;
isDisabled(editor: IDomEditor): boolean;
exec(editor: IDomEditor, value: string | boolean): Promise<void>;
}
export default MyButtonMenu;