7b24c8ac90
Add custom MutationObserver.observe method
The observe method supports configuration by dictionary and optional arguments:
observer.observe(node, {'subtree': true});
observer.observe(node, subtree: true);
If both are given, they are merged.
Review URL: https://chromiumcodereview.appspot.com//10696209
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9752 260f80e4-7a28-3924-810f-c04153c831b5
20 lines
626 B
Plaintext
20 lines
626 B
Plaintext
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
// WARNING: Do not edit - generated code.
|
|
|
|
$!COMMENT
|
|
interface $ID$EXTENDS {
|
|
$!MEMBERS
|
|
void observe(Node target,
|
|
[Map options,
|
|
bool childList,
|
|
bool attributes,
|
|
bool characterData,
|
|
bool subtree,
|
|
bool attributeOldValue,
|
|
bool characterDataOldValue,
|
|
List<String> attributeFilter]);
|
|
}
|