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

Unified Diff: tools/dom/templates/html/impl/impl_MutationObserver.darttemplate

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:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/html/impl/impl_MutationObserver.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_MutationObserver.darttemplate b/tools/dom/templates/html/impl/impl_MutationObserver.darttemplate
index d4125367935a5476a48538af8071eac60a7eaad4..203068ced3b7382dd4442dd4cea627aa7433f568 100644
--- a/tools/dom/templates/html/impl/impl_MutationObserver.darttemplate
+++ b/tools/dom/templates/html/impl/impl_MutationObserver.darttemplate
@@ -19,6 +19,16 @@ $else
$endif
}
+ /**
+ * Observes the target for the specified changes.
Andrei Mouravski 2013/10/24 17:35:51 Maybe "Observes the target node for DOM changes."
+ *
Andrei Mouravski 2013/10/24 17:35:51 "[childList], ... , and [attributeFilter] configur
+ * Some requirements for the optional parameters:
+ *
+ * * Either childList, attributes or characterData must be true.
Andrei Mouravski 2013/10/24 17:35:51 "At least one of [childList]... must be `true`."
+ * * If attributeOldValue is true then attributes must also be true.
+ * * If attributeFilter is specified then attributes must be true.
Andrei Mouravski 2013/10/24 17:35:51 "...must also be `true`."
+ * * If characterDataOldValue is true then characterData must be true.
Andrei Mouravski 2013/10/24 17:35:51 "...must also be `true`."
+ */
void observe(Node target,
{bool childList,
bool attributes,
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698