Set component settings (Beta)
component.setSettings(settings)
Updates one or more settings on a component. All fields are optional; only the fields that you provide are updated. Changes take effect immediately without requiring an explicit save. To set only the name of a component, see Set component name.
Beta
This feature is released as part of a Beta program and may change in future releases.
Syntax
Parameters
settings: Partial<ComponentSettings> — An object containing the fields to update. All fields are optional.
Returns
Promise<null>
A Promise that resolves to null once the settings have been updated.