c-admin-table-page
A full-featured page for interacting with a ListViewModel. Provides a c-admin-table and a c-admin-methods for the list. Designed to be routed to directly with vue-router.
Examples
ts
import { CAdminTablePage } from 'coalesce-vue-vuetify3';
const router = new Router({
// ...
routes: [
// ... other routes
{
path: '/admin/:type',
name: 'coalesce-admin-list',
component: CAdminTablePage,
props: true,
},
]
})
Props
type: string
type: string
The PascalCase name of the type to be listed.
autoSave?: 'auto' | boolean = 'auto'
autoSave?: 'auto' | boolean = 'auto'
Controls whether auto-save is used for items when in edit mode. If auto
(the default), auto-saves are used as long as the type has no init-only properties.
list?: ListViewModel
list?: ListViewModel
An optional ListViewModel that will be used if provided instead of the one the component will otherwise create automatically.