Home > @jsplumbtoolkit/browser-ui > xml > getChild
xml.getChild() method
Gets the first instance of the child with the given tag name, null if none found.
Signature:
static getChild(parent: any, name: string): any;
Parameters
Parameter | Type | Description |
---|---|---|
parent | any | Element to retrieve child from. |
name | string | Child tag name to retrieve. |
Returns:
any