removeContainerItem(containerInfo)
Removes an item from 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 removed. | ✅ |
Usage example
In this example, the API removes the specified item from the container.
const containerManager = getPConnect().getContainerManager();
containerManager.removeContainerItem({ target: "app/primary", containerItemID: "app/primary_3" });
Previous topic initializeContainers(containerInfo) Next topic removeTransientItem(transientItemInfo)