previousSibling property

Retrieves the previous sibling of the node that was added or removed, or null if none exists (or if MutationRecord.type is not childList)

This property is read-only.

IE11

 

Syntax

JavaScript
ptr = object.previousSibling

 

Property values

Type: Node

See also

MutationRecord

 

 

Show: