MutationObserver class

Inheritance
Annotations
  • @DomName('MutationObserver')
  • @SupportedBrowser(SupportedBrowser.CHROME)
  • @SupportedBrowser(SupportedBrowser.FIREFOX)
  • @SupportedBrowser(SupportedBrowser.SAFARI)
  • @Experimental()

Static Properties

instanceRuntimeTypeType
@Deprecated("Internal Use Only"), read-only
supportedbool
read-only

Checks to see if the mutation observer API is supported on the current platform.

Constructors

MutationObserver(MutationCallback callback)
factory
MutationObserver.internal_()

Properties

hashCodeint
read-only, inherited
runtimeTypeType
read-only, inherited

A representation of the runtime type of the object.

Operators

operator ==(other) → bool
inherited

The equality operator.

Methods

disconnect() → void
@DocsEditable(), @DomName('MutationObserver.disconnect')
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>
@DocsEditable(), @DomName('MutationObserver.takeRecords')
noSuchMethod(Invocation invocation) → dynamic
inherited

Invoked when a non-existent method or property is accessed.

toString() → String
inherited

Returns the result of the JavaScript objects toString method.

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