initializeContainers(containerInfo)
Initializes containers in a complex component.
Returns
A promise associated with the action.
Parameters
Name | Type | Description | Required |
containerInfo | object | The type of the container being
initialized. Example:
| ✅ |
Usage example
In this example, the API initializes a container in the Store.
const containerManager = getPConnect().getContainerManager();
containerManager.initializeContainers({
type: "multiple"
});
Previous topic addTransientItem(containerInfo) Next topic removeContainerItem(containerInfo)