ContextMenuData# webVis API Reference 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 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? This page needs code samples Code samples do not work Information is missing Please tell us more about what's wrong: Information is incorrect Please tell us more about what's wrong: Information is unclear or confusing Please tell us more about what's wrong: The page is rendered incorrectly (styling/CSS) Give Feedback Please tell us more about what's wrong: Name E-Mail Problem (required)
Defines the properties of a context menu.