ContextMenuData¶ webVis API ReferenceContextMenuDataInterface ContextMenuDataDefines 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;} IndexPropertiesclickResult? contents? leftPos onCloseCallback? targetID? topPos PropertiesOptionalclickResultclickResult?: PointerInfoOptionalcontentscontents?: ContextMenuEntry[]leftPosleftPos: numberOptionalonCloseCallbackonCloseCallback?: () => voidOptionaltargetIDtargetID?: numbertopPostopPos: number Was this page helpful? Please leave a thumbs up or down. 👍 Yes 👎 No
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.