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