setToolbar.d.ts 927 B

123456789101112131415161718192021
  1. /// <reference types="./types" />
  2. export declare const removeCurrentToolbar: (toolbar: {
  3. [key: string]: HTMLElement;
  4. }, names: string[]) => void;
  5. export declare const setCurrentToolbar: (toolbar: {
  6. [key: string]: HTMLElement;
  7. }, names: string[]) => void;
  8. export declare const enableToolbar: (toolbar: {
  9. [key: string]: HTMLElement;
  10. }, names: string[]) => void;
  11. export declare const disableToolbar: (toolbar: {
  12. [key: string]: HTMLElement;
  13. }, names: string[]) => void;
  14. export declare const hideToolbar: (toolbar: {
  15. [key: string]: HTMLElement;
  16. }, names: string[]) => void;
  17. export declare const showToolbar: (toolbar: {
  18. [key: string]: HTMLElement;
  19. }, names: string[]) => void;
  20. export declare const hidePanel: (vditor: IVditor, panels: string[], exceptElement?: HTMLElement) => void;
  21. export declare const toggleSubMenu: (vditor: IVditor, panelElement: HTMLElement, actionBtn: Element, level: number) => void;