ContextMenuData#

Type alias ContextMenuData

ContextMenuData: {
    clickResult?: PointerInfo;
    contents?: ContextMenuEntry[];
    leftPos: number;
    onCloseCallback?: (() => void);
    targetID?: number;
    topPos: number;
}

Defines the properties of a context menu.

Type declaration

  • Optional clickResult?: PointerInfo
  • Optional contents?: ContextMenuEntry[]
  • leftPos: number
  • Optional onCloseCallback?: (() => void)
      • (): void
      • Returns void

  • Optional targetID?: number
  • topPos: number