openpencil/packages/docs/pl/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

620 B

title description
useVariables Odczytywanie i zmiana kolekcji, zmiennych, trybów i wartości.

useVariables

useVariables() udostępnia niskopoziomowy stan i działania edytora zmiennych.

Użyj composable do bezpośredniego zarządzania kolekcjami, aktywnymi trybami, filtrami i operacjami tworzenia, odczytu, aktualizacji i usuwania bez gotowej tabeli lub okna.

const variables = useVariables()

Zwracane dane obejmują collections, activeCollection, activeModes, variables, searchTerm oraz działania do tworzenia, przemianowywania, usuwania i aktualizowania zmiennych i kolekcji.