Skip to content

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

NameTypeDefaultDescription
allRowsSelectedbooleanfalseWhen 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.
hasTabsAbovebooleanfalseWhen DataView has tabs above it, we need to remove the top left rounded corner
hidePageStatsbooleanfalseHides the page statistics (ex: "1 - 12 of 20") in the toolbar
radiusToolbarRadiusesundefinedControls the corners of DataViewToolbar with the "border-radius" CSS property. The default value is "rounded".
someRowsSelectedbooleanfalseWhen 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

NameDescription
defaultdefault

Events

NameDescription
select