getActiveContainerItemName(target)
Obtains the name of the active container item within a specific container.
Returns
The name of the container item as a string.
Parameters
Name | Type | Description | Required |
target | string | The target container containing the active container item. | ✅ |
Usage example
In this example, the API obtains the name of the active container item under the
app/primary
container.
PCore.getContainerUtils().getActiveContainerItemName('app/primary');
Previous topic getActiveContainerItemContext(target) Next topic getChildContainerItems(containerItemName)