ContextMenuVisibleCallback#

Type alias ContextMenuVisibleCallback

ContextMenuVisibleCallback: ((info) => Promise<boolean>)

Type declaration

    • (info): Promise<boolean>
    • Specifies a callback function which is executed before the context menu opens and can be used control the visibility of an entry.

      Parameters

      Returns Promise<boolean>