| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library template_binding.src.binding_delegate; | 5 library template_binding.src.binding_delegate; |
| 6 | 6 |
| 7 import 'dart:html'; | 7 import 'dart:html'; |
| 8 import 'package:template_binding/template_binding.dart' show TemplateInstance; | 8 import 'package:template_binding/template_binding.dart' show TemplateInstance; |
| 9 | 9 |
| 10 /** | 10 /** |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 PrepareInstanceModelFunction prepareInstanceModel(Element template) => null; | 59 PrepareInstanceModelFunction prepareInstanceModel(Element template) => null; |
| 60 | 60 |
| 61 /** | 61 /** |
| 62 * Returns a function that will be called whenever the position of an item | 62 * Returns a function that will be called whenever the position of an item |
| 63 * inside this template changes. | 63 * inside this template changes. |
| 64 */ | 64 */ |
| 65 PrepareInstancePositionChangedFunction prepareInstancePositionChanged( | 65 PrepareInstancePositionChangedFunction prepareInstancePositionChanged( |
| 66 Element template) => null; | 66 Element template) => null; |
| 67 } | 67 } |
| 68 | 68 |
| 69 typedef PrepareBindingFunction(model, Node node); | 69 typedef PrepareBindingFunction(model, Node node, bool oneTime); |
| 70 | 70 |
| 71 typedef PrepareInstanceModelFunction(model); | 71 typedef PrepareInstanceModelFunction(model); |
| 72 | 72 |
| 73 typedef PrepareInstancePositionChangedFunction(TemplateInstance instance, | 73 typedef PrepareInstancePositionChangedFunction(TemplateInstance instance, |
| 74 int index); | 74 int index); |
| OLD | NEW |