GetChildren Method

The GetChildren method identifies all child components that a parent component contains. It returns these child components in an array. If no child components exist, then it returns nothing. It uses the following syntax:

GetChildren() 

It includes no arguments.

For example:

var childrenCmp = cmpObj.GetChildren(); 

where:

  • cmpObj references a component object.