Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Unified Diff: third_party/pkg/angular/lib/core/annotation.dart

Issue 257423008: Update all Angular libs (run update_all.sh). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/pkg/angular/lib/core/annotation.dart
diff --git a/third_party/pkg/angular/lib/core/annotation.dart b/third_party/pkg/angular/lib/core/annotation.dart
new file mode 100644
index 0000000000000000000000000000000000000000..768def9aaf334f57c76343b239dd1f392b0e2b04
--- /dev/null
+++ b/third_party/pkg/angular/lib/core/annotation.dart
@@ -0,0 +1,38 @@
+/**
+ * Angular class annotations for Directives, Formatters, and Injectables.
+ */
+library angular.core.annotation;
+
+import "dart:html" show ShadowRoot;
+
+export "package:angular/core/annotation_src.dart" show
+ AttachAware,
+ DetachAware,
+ ShadowRootAware,
+
+ Formatter,
+ Injectable,
+
+ Directive,
+ Component,
+ Controller,
+ Decorator,
+
+ DirectiveAnnotation,
+ NgAttr,
+ NgCallback,
+ NgOneWay,
+ NgOneWayOneTime,
+ NgTwoWay;
+
+
+/**
+ * Implementing components [onShadowRoot] method will be called when
+ * the template for the component has been loaded and inserted into Shadow DOM.
+ * It is guaranteed that when [onShadowRoot] is invoked, that shadow DOM
+ * has been loaded and is ready.
+ */
+abstract class ShadowRootAware {
+ void onShadowRoot(ShadowRoot shadowRoot);
+}
+

Powered by Google App Engine
This is Rietveld 408576698