sesaparcours
    Preparing search index...

    Fake class which should be extended to avoid inheriting static properties

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Adds a component.

      Parameters

      • componentInfo: ComponentDatum

        The data for the component to register.

      • Optionalopt_allowOverrides: boolean

        True to prevent an error when overriding an already registered item.

      Returns void

    • Gets the component with the given ID.

      Parameters

      • id: string

        The ID of the component to get.

      Returns any

      The component with the given name or undefined if not found.

    • Gets all the components with the specified capability.

      Type Parameters

      • T

      Parameters

      Returns T[]

      The components that match the specified capability.

    • Returns whether the component with this id has the specified capability.

      Type Parameters

      • T

      Parameters

      Returns boolean

      Whether the component has the capability.

    • Removes a component.

      Parameters

      • id: string

        The ID of the component to remove.

      Returns void