ContextMenuLabelCallback#

Type alias ContextMenuLabelCallback

ContextMenuLabelCallback: ((info) => Promise<string>)

Type declaration

    • (info): 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.

      Parameters

      Returns Promise<string>