---
title: "NonDocumentTypeChildNode | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Interface NonDocumentTypeChildNode

interface NonDocumentTypeChildNode {  
    [nextElementSibling](#nextelementsibling): [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) | null;  
    [previousElementSibling](#previouselementsibling): [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) | null;  
}

#### Hierarchy ([View Summary](https://docs.maptiler.com/sdk-js/api-reference/hierarchy/#Externals.NonDocumentTypeChildNode))

-   NonDocumentTypeChildNode
    -   [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)
    -   [CharacterData](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.CharacterData/)

##### Index

### Properties[](#properties)

[nextElementSibling](#nextelementsibling) [previousElementSibling](#previouselementsibling)

## Properties[](#properties-1)

### `Readonly`nextElementSibling[](#nextelementsibling)

nextElementSibling: [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) | null

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/nextElementSibling)

### `Readonly`previousElementSibling[](#previouselementsibling)

previousElementSibling: [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) | null

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/previousElementSibling)
