OLD | NEW |
(Empty) | |
| 1 /** |
| 2 * Angular class annotations for Directives, Formatters, and Injectables. |
| 3 */ |
| 4 library angular.core.annotation; |
| 5 |
| 6 import "dart:html" show ShadowRoot; |
| 7 |
| 8 export "package:angular/core/annotation_src.dart" show |
| 9 AttachAware, |
| 10 DetachAware, |
| 11 ShadowRootAware, |
| 12 |
| 13 Formatter, |
| 14 Injectable, |
| 15 |
| 16 Directive, |
| 17 Component, |
| 18 Controller, |
| 19 Decorator, |
| 20 |
| 21 DirectiveAnnotation, |
| 22 NgAttr, |
| 23 NgCallback, |
| 24 NgOneWay, |
| 25 NgOneWayOneTime, |
| 26 NgTwoWay; |
| 27 |
| 28 |
| 29 /** |
| 30 * Implementing components [onShadowRoot] method will be called when |
| 31 * the template for the component has been loaded and inserted into Shadow DOM. |
| 32 * It is guaranteed that when [onShadowRoot] is invoked, that shadow DOM |
| 33 * has been loaded and is ready. |
| 34 */ |
| 35 abstract class ShadowRootAware { |
| 36 void onShadowRoot(ShadowRoot shadowRoot); |
| 37 } |
| 38 |
OLD | NEW |