Function: useFilters()
ts
function useFilters(dashboard): ShallowRef<Readonly<Record<string, Filter>>>;Defined in: packages/vue/src/index.ts:183
Every filter, by chart id: the same plain object as dashboard.filters.snapshot.filters, replaced on each change. Empty before the dashboard is ready.
Parameters
| Parameter | Type |
|---|---|
dashboard | DashboardSource |
Returns
ShallowRef<Readonly<Record<string, Filter>>>