getEventType method

String getEventType(EventTarget target)

Gets the type of the event which this would listen for on the specified event target.

The target is necessary because some browsers may use different event names for the same purpose and the target allows differentiating browser support.

Source

String getEventType(EventTarget target) {
  return _eventType;
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/EventStreamProvider/getEventType.html