ActionVisibilityFn: (element: HTMLElement) => boolean

Predicate deciding whether an action's UI entry (e.g. a context-menu item) is shown for a given DOM element. Compiled from data.visible by compileVisibility, composing the visibility source with execute permission and ActionTriggerFn.

Type declaration

    • (element: HTMLElement): boolean
    • Parameters

      • element: HTMLElement

      Returns boolean