Compartilhar via


IDOMMutationEvent interface

Provides properties and methods for changes to the Document Object Model (DOM) structure.

Members

The IDOMMutationEvent interface inherits from the IDispatch interface. IDOMMutationEvent also has these types of members:

  • Methods
  • Properties

Methods

The IDOMMutationEvent interface has these methods.

Method Description
initMutationEvent

Initializes a new DOM mutation (modification) event that the IDocumentEvent::createEvent method created.

 

Properties

The IDOMMutationEvent interface has these properties.

Property Description

attrChange

Gets a value that indicates what type of change occurred.

attrName

Gets the name of the attribute that changed.

newValue

Gets the new value of the attribute or text node.

prevValue

Gets the previous value of the attribute or text node.

relatedNode

Gets a second node related to a mutation event.

 

Remarks

Mutation events occur when DOM nodes are inserted or removed, or when attributes and text data are modified.

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch