Module Components
-Container for registered ComponentClasses
- - - -Functions
-has (name) | -Returns true if the containter has the ComponentClass with the specified name | -
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
-
-
- - - - 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:
--
-
- - boolean - -
- - Component - or error string -
- - - - get (name) - -
-
- Returns the ComponentClass with the specified name
-
-
-
Parameters:
--
-
- name - string - Name of the ComponentClass to get - -
Returns:
--
-
- Component
-
-
-