EventListener

Overview

The EventListener interface represents an object that can handle an event dispatched by an EventTarget object.

Location

Required Methods


handleEvent

A function that is called whenever an event of the specified type occurs.

 

method handleEvent(parevent: dynamic): dynamic

 

dynamic handleEvent(dynamic parevent)

 

func handleEvent(_ parevent: dynamic) -> dynamic

 

dynamic handleEvent(dynamic parevent)

 

Function handleEvent(parevent As dynamic) As dynamic

Parameters:

  • parevent: