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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 40703002: Updating MutationObserver.observe documentation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index 6f3ce7442683c967999f28e03c7ebd177f11e1f3..907e39b55a984a412034ed76c00b81b3a0475254 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -17307,6 +17307,16 @@ class MutationObserver extends Interceptor native "MutationObserver,WebKitMutati
'!!(window.MutationObserver || window.WebKitMutationObserver)');
}
+ /**
+ * Observes the target for the specified changes.
+ *
+ * Some requirements for the optional parameters:
+ *
+ * * Either childList, attributes or characterData must be true.
+ * * If attributeOldValue is true then attributes must also be true.
+ * * If attributeFilter is specified then attributes must be true.
+ * * If characterDataOldValue is true then characterData must be true.
+ */
void observe(Node target,
{bool childList,
bool attributes,

Powered by Google App Engine
This is Rietveld 408576698