ContextMenuLabelCallback#
Type alias ContextMenuLabelCallback
Context Menu Label Callback: ((info) => Promise<string>)
Type declaration
-
- (info): Promise<string>
-
Parameters
-
info: ContextMenuCallbackInfo
Contains information about the related webvis Context, Viewer, NodeId, etc.
Returns 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.