On this page

Interface NonDocumentTypeChildNode

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

Hierarchy (View Summary)

Index

Properties

nextElementSibling: Element | null

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

MDN Reference

previousElementSibling: Element | null

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

MDN Reference

Was this helpful?
SDK JS
Reference
NonDocumentTypeChildNode