Module Components

Container for registered ComponentClasses

Functions

has (name) Returns true if the containter has the ComponentClass with the specified name
reject (name) Prefix a component's name with the currently set Reject Prefix
try (name) Returns true and the ComponentClass if one was registered with the specified name or false and an error otherwise
get (name) Returns the ComponentClass with the specified name


Functions

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
reject (name)
Prefix a component's name with the currently set Reject Prefix

Parameters:

  • name string Name of the ComponentClass to reject

Returns:

    string
try (name)
Returns true and the ComponentClass if one was registered with the specified name or false and an error otherwise

Parameters:

  • name string Name of the ComponentClass to check

Returns:

  1. boolean
  2. Component or error string
  3. true if acceptRejected was true and the name had the Reject Prefix, false otherwise.
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 2023-02-26 15:29:07