ContextMenuSubEntryCallback# webvisUI API Reference ContextMenuSubEntryCallback Type alias ContextMenuSubEntryCallback ContextMenuSubEntryCallback: ((info) => Promise<ContextMenuEntry[]>) Type declaration (info): Promise<ContextMenuEntry[]> Specifies a callback function which is executed before the context menu opens and can be used to set a dynamic sub entries Parameters info: ContextMenuCallbackInfo Contains information about the related webvis Context, Viewer, NodeId, etc. Returns Promise<ContextMenuEntry[]> 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 to set a dynamic sub entries