Home > @polyspec/crudui-generator-vue > List
List() function
Build the .crudui-list envelope vnode around a ListViewModel: the description, the actions toolbar, the table/card body (or the .crudui-list__empty message), and the pagination chrome. Pure presentational vnode tree — no evaluation, no DB, read-only.
Signature:
export declare function List(vm: ListViewModel, layout?: ListLayout): VNode;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
vm |
ListViewModel | |
|
layout |
(Optional) |
Returns:
VNode