Skip to content

Menu ​

构造函数 ​

  • 函数签名

    ts
    constructor(id?: string, closeCallback?: () => void);
  • 描述

    #TODO

方法: showSubMenu ​

  • 函数签名

    ts
    showSubMenu(subMenuElement: HTMLElement): void;
  • 描述

    #TODO

方法: addItem ​

  • 函数签名

    ts
    addItem(options: IMenuItemOption): HTMLElement;
  • 描述

    #TODO

方法: addSeparator ​

  • 函数签名

    ts
    addSeparator(index?: number): void;
  • 描述

    #TODO

方法: open ​

  • 函数签名

    ts
    open(options: { x: number, y: number, h?: number, w?: number, isLeft?: boolean }): void;
  • 描述

    #TODO

方法: fullscreen ​

  • 函数签名

    ts
    fullscreen(position?: "bottom" | "all"): void;
  • 描述

    #TODO

方法: close ​

  • 函数签名

    ts
    close(): void;
  • 描述

    #TODO