Get the current number of components that are in the collection.
Get a component that matches the passed class. Will throw an error if an instance of the given component doesn't exist in the collection, so if you don't know if it's safe to get a component, you should test with has() or hasByName() first. You have been warned.
component Class reference.
Test to see if the collection contains a specific Class or Classes.
component Class, or array of component Classes.
Test to see if the collection has a component instance based on a class name. Some build steps/minifiers will change the name of Classes, so it's usually best to pass in a MyClass.name instead of 'MyClass'.
The name of a Class, or array of Class names.
Remove a component.
Class of component to remove.
Generated using TypeDoc
Get the component type names that are currently being used in the collection.