Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 298 Bytes

EventListener.md

File metadata and controls

17 lines (9 loc) · 298 Bytes

#EventListener Interface

Purpose

Allows event listeners to be added, removed, and triggered for any object.

Constructor

EventListener()

Properties

  • addEventListener(eventName, function)
  • removeEventListener(eventName, function)
  • triggerEvent(eventName, event)