Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

NonDocumentTypeChildNode

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

§Properties

§
readonly nextElementSibling: Element | null
[src]

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

§
readonly previousElementSibling: Element | null
[src]

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