Files
blog-vue/public/vditor/ts/toolbar/setToolbar.d.ts
2025-11-12 14:39:23 +08:00

21 lines
893 B
TypeScript

export declare const removeCurrentToolbar: (toolbar: {
[key: string]: HTMLElement;
}, names: string[]) => void;
export declare const setCurrentToolbar: (toolbar: {
[key: string]: HTMLElement;
}, names: string[]) => void;
export declare const enableToolbar: (toolbar: {
[key: string]: HTMLElement;
}, names: string[]) => void;
export declare const disableToolbar: (toolbar: {
[key: string]: HTMLElement;
}, names: string[]) => void;
export declare const hideToolbar: (toolbar: {
[key: string]: HTMLElement;
}, names: string[]) => void;
export declare const showToolbar: (toolbar: {
[key: string]: HTMLElement;
}, names: string[]) => void;
export declare const hidePanel: (vditor: IVditor, panels: string[], exceptElement?: HTMLElement) => void;
export declare const toggleSubMenu: (vditor: IVditor, panelElement: HTMLElement, actionBtn: Element, level: number) => void;