FilterChip API
API reference docs for the Stash FilterChip
component. Learn about the props, CSS, and other APIs of this exported module.
Import
ts
import FilterChip from '@leaflink/stash/FilterChip.vue';
Props
Name | Type | Default | Description |
---|---|---|---|
filterCount | number | undefined | Used for conditionally rendering filter count chip |
hasDropdown | boolean | false | Use for conditionally rendering caret |
isDropdownOpen | boolean | false | Used for styling when `hasDropdown` is true |
isRemovable | boolean | false | Used for conditionally rendering close icon and exposing remove event |
isSelected | boolean | false | Used for conditionally applying styles |
Slots
Name | Description |
---|---|
default | default |
Events
Name | Description |
---|---|
click | |
remove |