This interface must be implemented by all components that provide map-actions.Action.

interface Action {
    id: string;
    immediate?: boolean;
    trigger(options?: ActionOptions): unknown;
}

Hierarchy (View Summary)

Properties

Methods

Properties

id: string

Unique id of this action.

immediate?: boolean

Actions are executed one by one. This flag allows to run an action independently of all other actions.

Methods

  • trigger() is invoked with an array of items and arbitrary additional options.

    Parameters

    Returns unknown