ContextMenuLabelCallbackΒΆ webvisUI API ReferenceContextMenuLabelCallbackType Alias ContextMenuLabelCallbackContextMenuLabelCallback: (info: ContextMenuCallbackInfo) => Promise<string>Specifies a callback function which is executed before the context menu opens and can be used to set a dynamic label for an entry. Type declaration(info: ContextMenuCallbackInfo): Promise<string>Parametersinfo: ContextMenuCallbackInfoContains information about the related webvis Context, Viewer, NodeId, etc. Returns Promise<string> Was this page helpful? Please leave a thumbs up or down. π Yes π No
Specifies a callback function which is executed before the context menu opens and can be used to set a dynamic label for an entry.