W3cubDocs

/Dart 2

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.

Implementation

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/2.0.0/dart-html/EventStreamProvider/getEventType.html