DataViewToolbar API
API reference docs for the Stash DataViewToolbar
component. Learn about the props, CSS, and other APIs of this exported module.
Import
ts
import DataViewToolbar from '@leaflink/stash/DataViewToolbar.vue';
Props
Name | Type | Default | Description |
---|---|---|---|
allRowsSelected | boolean | false | When DataView has `variant="table"` and Table has `is-selectable` enabled, it provides a way to flag a checkbox whenever all rows are selected, just like the standalone version on TableHeaderRow. |
hasTabsAbove | boolean | false | When DataView has tabs above it, we need to remove the top left rounded corner |
hidePageStats | boolean | false | Hides the page statistics (ex: "1 - 12 of 20") in the toolbar |
radius | ToolbarRadiuses | undefined | Controls the corners of DataViewToolbar with the "border-radius" CSS property. The default value is "rounded". |
someRowsSelected | boolean | false | When DataView has variant="table" and Table has `is-selectable` enabled, it provides a way to flag a checkbox whenever one or more, but not all rows are selected, just like the standalone version on TableHeaderRow. |
Slots
Name | Description |
---|---|
default | default |
Events
Name | Description |
---|---|
select |