Module Components

Container for registered ComponentClasses

Functions

register (name, componentClass) Registers a ComponentClass.
has (name) Returns true if the containter has the ComponentClass with the specified name
get (name) Returns the ComponentClass with the specified name


Functions

register (name, componentClass)
Registers a ComponentClass.

Parameters:

  • name string Name to register under
  • componentClass Component ComponentClass to register
has (name)
Returns true if the containter has the ComponentClass with the specified name

Parameters:

  • name string Name of the ComponentClass to check

Returns:

    boolean
get (name)
Returns the ComponentClass with the specified name

Parameters:

  • name string Name of the ComponentClass to get

Returns:

    Component
generated by LDoc 1.4.6 Last updated 2020-01-04 10:27:07