Interface NonDocumentTypeChildNode

interface NonDocumentTypeChildNode {
    nextElementSibling: Element;
    previousElementSibling: Element;
}

Hierarchy (view full)

Properties

nextElementSibling: Element

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

MDN Reference

previousElementSibling: Element

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

MDN Reference