Skip to content

Filters API

API reference docs for the Stash Filters component. Learn about the props, CSS, and other APIs of this exported module.

Import

ts
import Filters from '@leaflink/stash/Filters.vue';

Props

NameTypeDefaultDescription
disableApplyboolean-Whether to disable the Apply button
disableClearboolean-Whether to disable the Clear button
disablePersistencyboolean-Whether to disable the sticky filters If disabled, a default pre-selected value(s) can be added to the filter component's attributes
schemaarray[]Filters schema
validationSchemafunc() => () => undefinedValidation schema function that returns an object

Slots

None

Events

NameDescription
change
submit
reset