addEventListener method

void addEventListener(
  1. String event,
  2. Function callback
)

Implementation

external void addEventListener(String event, Function callback);