getComponentChildren()
Availability
Adobe Dreamweaver MX.
Description
This function returns a list of child ComponentRec objects for the active parent ComponentRec object. To load the root-level tree items, this function needs to read its metadata from its persistent store.
Arguments
{parentComponentRec}
- The
parentComponentRecargument is thecomponentRecobject of the parent. If it is omitted, Adobe Dreamweaver expects a list ofComponentRecobjects for the root node.
Returns
An array of ComponentRec objects.
Example
See function getComponentChildren(componentRec) in the WebServices.js file in the Configuration/Components/Common/WebServices folder.