Constructors
Methods
add
- add(target, event, callback): void
Parameters
- target: any
- event: string
- callback: Function
Returns void
addAndCreate
- addAndCreate(target, event, callback): void
Parameters
- target: any
- event: string
- callback: Function
Returns void
clear
- clear(): void
Returns void
create
- create(): void
Returns void
destroy
- destroy(): void
Returns void
remove
- remove(target, event): void
Returns void
EventManager is used to manage DOM events from multiple element.
Events can be created for multiple DOM objects and managed from a single point.