target property
Retrieves the node on which the MutationRecord was logged.
This property is read-only.
![]() |
Syntax
| JavaScript |
|---|
ptr = object.target |
Property values
Type: Node
Remarks
The MutationRecord.target property is similar to event.target or event.srcElement in the case of the legacy mutation events model.
See also
Show:
