Get settings (Beta)
Get settings (Beta)
Get settings (Beta)
element.getSettings()Get the raw values for all settings on an element.
This method returns the current value for each setting as it is stored.
Statically set values are returned as-is.
Values that are bound to a data source are returned as binding reference objects with a sourceType field.
To get the resolved values instead of the binding references, use element.getResolvedSettings().
These methods are in public beta and may change with future releases.
Related types:
Promise<ElementSettingSummaries>
A Promise that resolves to an object mapping setting keys to their raw values. Static values are returned as-is, and bound settings are returned as binding reference objects.
For elements that support custom attributes, the returned object includes an attributes key containing an array of AttributeEntry objects.
Each entry’s name and value can be a string or a BindingValue if the attribute is bound.
Checks for authorization only.