In Dart\'s Web UI, it was possible to pass arbitrary data to function in response to events, for example, the following snippet passes the value 2 to the
2
Dart and Polymer.dart have changed since Chris' answer. Here is updated code for Dart v1.0:
Click Me {{count}}