map.apps Bundle APIs 4.20.0
    Preparing search index...

    Class default

    This is the default Action class. It equals popups/BaseAction("button").

    Hierarchy

    • ActionButton<this> & ActionButtonProperties & ActionToggleProperties & Required<
          Pick<ActionBaseProperties, "id" | "title">,
      > & ActionMethods
      • default
    Index

    Methods

    • Returns true, if the action is visible for a certain feature. If this method is not provided, the default value is true.

      Parameters

      • feature: Graphic

        The feature.

      Returns boolean

    • Triggers the action.

      Parameters

      Returns void | Promise<void>