removeTransientItem(transientItemInfo)
Removes a transient item from the current context.
Returns
A Promise associated with the action.
Parameters
Name | Type | Description | Required |
transientItemInfo | object | The JSON object containing the target, the ID of the container, and the ID of the transient item. | ✅ |
Usage example
In this example, the API removes a transient item from the current context.
const containerManager = getPConnect().getContainerManager();
containerManager.removeTransientItem({
target:'uniqueTarget',
containerItemID:'uniqueContainerID',
transientItemID:'uniqueTransientID',
});
Previous topic removeContainerItem(containerInfo) Next topic resetContainers(containerInfo)