Skip to main content

$createChildrenArray

function

Builds an ordered array of child node keys for the given ElementNode by walking its linked-list pointers.

function $createChildrenArray(element: ElementNode, nodeMap: null | NodeMap): NodeKey[]

Import

import { $createChildrenArray } from '@modular/sdk/editor';