ContextMenuCallbackInfo# webvisUI API Reference ContextMenuCallbackInfo Type alias ContextMenuCallbackInfo ContextMenuCallbackInfo: { context: webvis.ContextAPI; nodeId?: number; pointerInfo?: webvis.PointerInfo; triggeredBy?: HTMLElement; viewer: webvis.ViewerAPI; } Type declaration context: webvis.ContextAPI Reference to the related webvis Context. Optional nodeId?: number The related NodeId if available. Optional pointerInfo?: webvis.PointerInfo Additional pointer information like 3d position, 3d normal, etc. Only available if context menu is opened from the 3d view. Optional triggeredBy?: HTMLElement Reference to the HTMLElement which triggered the opening of the context menu. viewer: webvis.ViewerAPI Reference to the related webvis Viewer. 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)
Reference to the related webvis Context.