Component Registry
Appearance
The Component Registry allows accessing all currently available Components and is the most convenient way of accessing components.
| Name | Type | Description |
|---|---|---|
:list() |
function -> (string, userdata) |
Returns an iterator function that, in each invocation returns a string representing the type of the current component along with the actual userdata instance. |
:getFirst(componentType:string) |
userdata |
Returns the first component of the given componentType or nil if no matching component exists.
|