ContextMenuData

Interface ContextMenuData

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.

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

Properties

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

Did you find this page useful? Please give it a rating:
Thank you for rating this page!
Any issues or feedback?
What kind of problem would you like to report?
Please tell us more about what's wrong: