Get component name
component.getName()
Get the name of the Component Object.
To get the name along with other settings, see Get component settings.
Syntax
Returns
Promise<string>
A Promise that resolves to a string representing the name of a component.
Designer Ability
Checks for authorization only