Home > @polyspec/crudui-generator-vue > renderList
renderList() function
Compose a list specification, evaluate supplied rows and render list HTML. Throws ComposeLoadError when a composition reference cannot be resolved.
Signature:
export declare function renderList(listSpec: Record<string, unknown>, rows?: Array<Record<string, unknown>>, options?: RenderListOptions): Promise<string>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
listSpec |
Record<string, unknown> | |
|
rows |
Array<Record<string, unknown>> |
(Optional) |
|
options |
(Optional) |
Returns:
Promise<string>