openpencil/packages/docs/it/programmable/sdk/api/advanced/use-variables.md
Danila Poyarkov 29e0d3acf2
refactor(vue)!: remove the variables table composables (#908)
The variables dialog now uses the tokens panel, so useVariablesEditor, useVariablesTable, useVariablesDialogState, and the table-only formatModeValue, parseVariableValue, and shortName helpers have no users. Removing them drops the @tanstack/vue-table dependency; their SDK pages redirect to useVariables.
2026-10-06 12:35:41 +00:00

487 B

title description
useVariables Leggere e modificare raccolte, variabili, modalità e valori.

useVariables

useVariables() fornisce stato e azioni di basso livello per un editor di variabili.

Usalo per controllare direttamente raccolte, modalità attive, filtri e operazioni di creazione, lettura, modifica ed eliminazione senza tabella o finestra predefinite.

Tra i valori restituiti ci sono collections, activeCollection, activeModes, variables e searchTerm.