Skip to main content

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

ParameterTypeDescription
parentanyElement to retrieve child from.
namestringChild tag name to retrieve.

Returns:

any