description

# addEventListener method

void addEventListener (String type, EventListener listener, [ bool useCapture ])
override

## Implementation

    void addEventListener(String type, EventListener listener,
        [bool useCapture]) {
      // Messages posted to ports are initially paused, allowing listeners to be
      // setup, start() needs to be explicitly invoked to begin handling messages.
      if (type == 'message') {
        _start();
      }

      super.addEventListener(type, listener, useCapture);
    }