c-admin-table-toolbar
A full-featured toolbar for a ListViewModel designed to be used on an admin page, including "Create" and "Reload" buttons, a c-list-range-display, a c-list-page, a search field, c-list-filters, and a c-list-page-size.
Examples
template
<c-admin-table-toolbar :list="personList" />
template
<c-admin-table-toolbar :list="personList" color="pink" v-model:editable="isEditable" />
Props
list: ListViewModel
list: ListViewModel
The ListViewModel to render the toolbar for.
color: string = 'primary'
color: string = 'primary'
The color of the toolbar.
editable?: boolean
editable?: boolean
'update:editable'?: (boolean: $event) => void
'update:editable'?: (boolean: $event) => void
If provided, adds a button to toggle editing state. Should be two-way bound with v-model.