getComponentName()
Obtains the name of the current component.
Returns
The name of the current component as a string.
Parameters
This API does not have parameters.
Usage example
In this example, the API returns the name of the current component.
const component = getPConnect().getComponentName();
Previous topic getChildren() Next topic getConfigProps(destinationObject)