Import

    Constructors

    Properties

    PropertyModifiersTypeDescription
    setInit(init: () => T[]) => void

    Methods

    MethodModifiersDescription
    getIfExists(id)
    list(ids)Return a list of values by ID, or all values if not specified
    selectOptions(current, filter)

    Constructs a new instance of the Registry class

    Signature

      Parameters

      setInit property

      Signature

      Signature

      1. get(id: string): T;

      Parameters

      ParameterTypeDescription
      id

      T

      getIfExists method

      Signature

      1. getIfExists(id: string | undefined): T | undefined;

      Parameters

      ParameterTypeDescription
      idstring | undefined

      Returns:

      T | undefined

      Signature

      Returns:

      boolean

      list method

      Return a list of values by ID, or all values if not specified

      Signature

      1. list(ids?: any[]): T[];

      Returns:

      T[]

      Signature

      1. register(ext: T): void;

      Parameters

      ParameterTypeDescription
      extT

      Returns:

      void

      selectOptions method

      Signature

      Parameters

      ParameterTypeDescription
      currentstring[]
      filter(ext: T) => boolean

      Returns: