activateContainerItem(containerInfo)
Activates an item in a container.
Returns
A Promise associated with the action.
Parameters
Name | Type | Description | Required |
containerInfo | object | The JSON object containing information about the container item to be activated. | ✅ |
Usage example
In this example, the API activates the specified item in the container.
const containerManager = getPConnect().getContainerManager(); containerManager.activateContainerItem({ target: "app/primary", containerItemID: "app/primary_3" });
Previous topic APIs in the ContainerManager class Next topic addContainerItem(containerInfo)