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

    Interface ActionDefinitionFactory

    Provides additional action definitions to the TOC.

    Use the interface name toc.ActionDefinitionFactory to register an implementation with the system.

    interface ActionDefinitionFactory {
        createDefinitionById(id: string): undefined | ActionDefinition;
        supportedIds: readonly string[];
    }
    Index

    Properties

    supportedIds: readonly string[]

    A list of action ids supported by this factory.

    Ids listed here can be used as an argument to createDefinitionById.

    Methods

    • Constructs an action definition for the given id.

      Parameters

      • id: string

      Returns undefined | ActionDefinition