Prism API - v2.0.0-alpha.1
    Preparing search index...

    Class Registry

    TODO: docs

    Index
    aliasMap: Map<string, string> = ...

    A private map from the aliases of components to the id of the component with that alias.

    entries: Map<string, Entry> = ...

    A private map from the aliases of components to the id of the component with that alias.

    Prism: Prism

    A private reference to the Prism instance.

    • Returns whether this registry has a component with the given name or alias.

      Parameters

      • name: string

      Returns boolean

    • If the given name is a known alias, then the id of the component of the alias will be returned. Otherwise, the name will be returned as is.

      Parameters

      • name: string

      Returns string

    • Private method to update the registry.

      Parameters

      • changed: Set<string>

      Returns void