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

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

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/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index f07da5cd9c18178f8df03a5ee0e272db51b4c126..81d125a22837f48caf687e971f67d2392eca6311 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -18598,6 +18598,16 @@ class MutationObserver extends NativeFieldWrapperClass2 {
return true;
}
+ /**
+ * 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