ContextMenuVisibleCallback# webvisUI API Reference ContextMenuVisibleCallback Type alias ContextMenuVisibleCallback ContextMenuVisibleCallback: ((info) => Promise<boolean>) Type declaration (info): Promise<boolean> Specifies a callback function which is executed before the context menu opens and can be used control the visibility of an entry. Parameters info: ContextMenuCallbackInfo Contains information about the related webvis Context, Viewer, NodeId, etc. Returns Promise<boolean> 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)
Specifies a callback function which is executed before the context menu opens and can be used control the visibility of an entry.