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
Parameter | Type | Description |
---|---|---|
parent | any | Element to retrieve children from. |
name | string | Child tag names to retrieve. |
Returns:
Array<any>