getTarget()
Obtains the fully qualified name of the target container with which a component is associated.
Returns
The name of the target container as a string.
Parameters
This API does not have parameters.
Usage example
In this example, the API returns app/primary
as the name of the
target container.
const target = getPConnect().getTarget();
Previous topic getStateProps() Next topic getValidationApi()