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>


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?
Please tell us more about what's wrong: