W3cubDocs

/Dart 2

on property

Events on

This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.

Implementation

Events get on => new Events(this);

© 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/EventTarget/on.html