ContextMenuData#
Type alias ContextMenuData
Context Menu Data: {
clickResult?: PointerInfo;
contents?: ContextMenuEntry[];
leftPos: number;
onCloseCallback?: (() => void);
targetID?: number;
topPos: number;
}
clickResult?: PointerInfo;
contents?: ContextMenuEntry[];
leftPos: number;
onCloseCallback?: (() => void);
targetID?: number;
topPos: number;
}
Type declaration
-
OptionalclickResult?: PointerInfo -
Optionalcontents?: ContextMenuEntry[] -
left
Pos: number -
OptionalonClose Callback?: (() => void) -
- (): void
-
Returns void
-
-
OptionaltargetID?: number -
top
Pos: number
Defines the properties of a requested context menu.
This type is only used internally by the RequestContextMenuEvent event to request a context menu from the UI. To modify the context menu, use the related functions provided by the webvisUI API.