Files
hustoj/web/include/vditor/dist/ts/toolbar/EditMode.d.ts
2026-04-10 16:55:59 +08:00

9 lines
390 B
TypeScript

/// <reference types="./types" />
import { MenuItem } from "./MenuItem";
export declare const setEditMode: (vditor: IVditor, type: string, event: Event | string) => void;
export declare class EditMode extends MenuItem {
element: HTMLElement;
constructor(vditor: IVditor, menuItem: IMenuItem);
_bindEvent(vditor: IVditor, panelElement: HTMLElement, menuItem: IMenuItem): void;
}