Skip to content

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 ​

ParameterType
dashboardDashboardSource

Returns ​

ShallowRef<Readonly<Record<string, Filter>>>

Released under the MIT License.