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

Static Properties

instanceRuntimeType Type

@Deprecated("Internal Use Only"), read-only
supported bool

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

read-only

Constructors

MutationObserver(MutationCallback callback)

factory
MutationObserver.internal_()

Properties

hashCode int

read-only, inherited
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) bool

The equality operator.

inherited

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

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

inherited
toString() String

Returns the result of the JavaScript objects toString method.

inherited