Skip to main content

Home > @jsplumbtoolkit/browser-ui > xml > getChildren

xml.getChildren() method#

Gets children of the given node (only direct children), returning an array of nodes (an empty array if none found).

Signature:

static getChildren(parent: any, name: string): Array<any>;

Parameters#

ParameterTypeDescription
parentanyElement to retrieve children from.
namestringChild tag names to retrieve.

Returns:

Array<any>