Interface NonDocumentTypeChildNode
interface NonDocumentTypeChildNode {
nextElementSibling: Element | null;
previousElementSibling: Element | null;
}
nextElementSibling: Element | null;
previousElementSibling: Element | null;
}
Hierarchy (View Summary)
- NonDocumentTypeChildNode
Returns the first following sibling that is an element, and null otherwise.
MDN Reference