addEventListener abstract method

void addEventListener(
  1. String type,
  2. void listener(
    1. T event
    )
)

Adds an event listener.

Implementation

void addEventListener(String type, void listener(T event));