Skip to main content

NonDocumentTypeChildNode

Extended by

Properties

nextElementSibling

readonly nextElementSibling: Element | null;

Returns the first following sibling that is an element, and null otherwise.

MDN Reference


previousElementSibling

readonly previousElementSibling: Element | null;

Returns the first preceding sibling that is an element, and null otherwise.

MDN Reference