Set component settings (Beta)
Set component settings (Beta)
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.
These methods are in public beta and may change with future releases.
settings : Partial<ComponentSettings> — An object containing the fields to update.
All fields are optional.Promise<null>
A Promise that resolves to null once the settings have been updated.