Options
All
  • Public
  • Public/Protected
  • All
Menu

Common command condition evaluators

export

Hierarchy

  • CommandConditions

Index

Methods

Static disabledIfEmptySelection

  • disabledIfEmptySelection(state: Readonly<IToolbarAppState>, parameters?: any): boolean
  • The command is set to be disabled if selection is empty

    static
    memberof

    CommandConditions

    Parameters

    Returns boolean

Static hasNextView

  • The viewer has a next view in the view navigation stack

    static
    memberof

    CommandConditions

    Parameters

    Returns boolean

Static hasPreviousView

  • The viewer has a previous view in the view navigation stack

    static
    memberof

    CommandConditions

    Parameters

    Returns boolean

Static hasSelection

  • The viewer has a selection set

    static
    memberof

    CommandConditions

    Parameters

    Returns boolean

Static isNotBusy

  • The viewer is not busy

    static
    memberof

    CommandConditions

    Parameters

    Returns boolean

Generated using TypeDoc