In Polymer.js children of a template have a reference to the template, how can this be done in Polymer.dart
问题 When I have a reference to an element that was produced by a <template> , in Polymer.js such elements have an attribute templateInstance that provides a references to its template like it's used here: https://github.com/PolymerLabs/polymer-selector/blob/master/polymer-selector.html#L286 回答1: Polymer >= 1.0.0 @reflectable void someClickHandler(dom.Event event, [_]) { // for native events (like on-click) var model = new DomRepeatModel.fromEvent(event); // or for custom events (like on-tap,