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

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Issue 24096027: Dart2js support for custom element lifecycle events (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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:
Download patch
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index 4a62082745adbf167634580471fef5802438306f..e57bfdd8249172c128185bc85271025f3c7c35e6 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -9729,6 +9729,20 @@ abstract class Element extends Node implements ParentNode, ChildNode {
@Experimental()
void created() {}
+ /**
+ * Called by the DOM when this element has been inserted into the live
+ * document.
+ */
+ @Experimental()
+ void enteredView() {}
+
+ /**
+ * Called by the DOM when this element has been removed from the live
+ * document.
+ */
+ @Experimental()
+ void leftView() {}
+
// Hooks to support custom WebComponents.
Element _xtag;

Powered by Google App Engine
This is Rietveld 408576698