You are here

childrenByTags

childrenByTags(tag) gets all children of the node that have the tag specified. The methods fetch the children of the node in a deep (recursive) fashion.

Parameters

tag
A string representing the tag name.

Returns

An array of ScriptNode objects that corresponds to the children of the node with the specified tag.