How do I pass arbitrary data to a click event handler function from a Dart polymer web component

后端 未结 3 442
遥遥无期
遥遥无期 2020-12-28 16:45

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

3条回答
  •  天涯浪人
    2020-12-28 17:42

    Dart and Polymer.dart have changed since Chris' answer. Here is updated code for Dart v1.0:

    
      
    
    
    

提交回复
热议问题