Get component settings (Beta)
component.getSettings()
Retrieves the settings of a component, including its name, group, and description.
Returns empty strings for group and description if they are not set.
To get only the name of a component, see Get component name.
Beta
This feature is released as part of a Beta program and may change in future releases.
Syntax
Returns
Promise<ComponentSettings>
A Promise that resolves to a ComponentSettings object with the following properties:
Example
Designer Ability
Checks for authorization only