Context provided to the Action#trigger method.

The context contains all features in the popup and the selected one.

interface ActionContext {
    action: any;
    features: Graphic[];
    location: Point;
    selectedFeature: Graphic;
}

Properties

action: any

Backreference to triggered action.

features: Graphic[]

Array of all Graphic objects in the popup

location: Point

The Point where the popup is positioned.

selectedFeature: Graphic

The currently selected Graphic of the popup.