Abstract
Component base class. Has an owner (unless it's the application root component), can dispatch events to its children, and has access to the root Application component.
type of component's owner.
Create new Component instance.
The name of this component as set by the @Component decorator.
@Component
Return the application / root component instance.
Return the owner of this component.
Stops listening to an event.
the event to stop listening to.
the function to remove from the listener array.
Starts listening to an event.
the event to listen to.
function to be called when an this event is emitted.
Optional
optional priority to insert this hook with. Higher priority is placed earlier in the listener array.
Emits an event to all currently subscribed listeners.
the event to emit.
any arguments required for the event.
Component base class. Has an owner (unless it's the application root component), can dispatch events to its children, and has access to the root Application component.