Home > @uniformdev/mesh-sdk > EditorStateApi
EditorStateApi interface
Imperative API for interacting with the composition/entry editor state. Available on canvasEditorTools, and dataResourceSelector locations.
All methods use object parameters for consistency across client, wire format, and server.
Signature:
Methods
|
Method |
Description |
|---|---|
|
Sets the currently active locale in the editor UI | |
|
Sets the current preview value for a dynamic input. | |
|
(BETA) Toggles a parameter between "shared" (single invariant value) and "localized" (per-locale values) — the same operation as the dashboard "Use locale-specific values" switch on the parameter's locale drawer.
The migration handles pattern parameter overrides, The caller must supply No-ops if the parameter is already in the requested state; if the parameter does not exist on the node; if (when localizing) no locales are enabled; or if (when localizing) the supplied This is beta functionality. It is intentionally exposed as | |