Obtains the list of children for the current component. The iterator is also reset to the beginning of the index.
An object containing the list of children.
This API does not have parameters.
In this example, the API retrieves the list of child components from the current component. This list is stored in the children variable.
const children = getPConnect().getChildren();