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

      Returns Promise<ContextMenuEntry[]>