W3cubDocs

/Dart 2

MutationObserver class

Annotations
  • @SupportedBrowser(SupportedBrowser.CHROME)
  • @SupportedBrowser(SupportedBrowser.FIREFOX)
  • @SupportedBrowser(SupportedBrowser.SAFARI)
  • @Native("MutationObserver,WebKitMutationObserver")

Constructors

MutationObserver(MutationCallback callback)
factory

Properties

hashCodeint
read-only, inherited
The hash code for this object. [...]
runtimeTypeType
read-only, inherited
A representation of the runtime type of the object.

Methods

disconnect() → void
observe(Node target, { bool childList, bool attributes, bool characterData, bool subtree, bool attributeOldValue, bool characterDataOldValue, List<String> attributeFilter }) → void
Observes the target for the specified changes. [...]
takeRecords() → List<MutationRecord>
noSuchMethod(Invocation invocation) → dynamic
inherited
Invoked when a non-existent method or property is accessed. [...]
toString() → String
inherited
Returns a string representation of this object.

Operators

operator ==(dynamic other) → bool
inherited
The equality operator. [...]

Static Properties

supportedbool
read-only
Checks to see if the mutation observer API is supported on the current platform.

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-html/MutationObserver-class.html