Abstract class that will be responsible for the basic behaviours of a listener, namely storing the callbacks.

Export

Abstract

Implements

Type Parameters

  • T

Hierarchy-Diagram

UML class diagram of AbstractListener
Legend
icon for a class in the UML class diagram class
icon for an abstract class in the UML class diagram abstract class
icon for an interface in the UML class diagram interface
icon for a public property in the UML class diagram public property
icon for a protected property in the UML class diagram protected property
icon for a private property in the UML class diagram private property
icon for a public method in the UML class diagram public method
icon for a private method in the UML class diagram private method
italic abstract property/method

Hierarchy

Implements

Accessors

Methods

Properties

_eventName: string
_eventTarget: HTMLElement | Document | Window
eventCallback: EventListenerObject

Store the listener callback

Memberof

AbstractListener

useCapture: boolean = false

Flag to indicate if event will be dispatched to the registered listener before being dispatched to any EventTarget beneath it in the DOM tree.

Memberof

AbstractListener

Constructors