KC's Workspace
    Preparing search index...

    Class ConverterComponentAbstract

    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.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    componentName: string

    The name of this component as set by the @Component decorator.

    Accessors

    • get owner(): O

      Return the owner of this component.

      Returns O

    Methods

    • Stops listening to an event.

      Type Parameters

      • K extends never

      Parameters

      • event: K

        the event to stop listening to.

      • listener: (this: undefined, ...args: {}[K]) => void

        the function to remove from the listener array.

      Returns void

    • Starts listening to an event.

      Type Parameters

      • K extends never

      Parameters

      • event: K

        the event to listen to.

      • listener: (this: undefined, ...args: {}[K]) => void

        function to be called when an this event is emitted.

      • Optionalpriority: number

        optional priority to insert this hook with. Higher priority is placed earlier in the listener array.

      Returns void

    • Emits an event to all currently subscribed listeners.

      Type Parameters

      • K extends never

      Parameters

      • event: K

        the event to emit.

      • ...args: {}[K]

        any arguments required for the event.

      Returns void