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

后端 未结 3 443
遥遥无期
遥遥无期 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:36

    My solution for Polymer 0.11.0+5

    element.html

    
    
      
    
     
    
                                     
                  
提交回复
热议问题