CRUDUI

Home > @polyspec/crudui-generator-html > renderList

renderList() function

Compose, evaluate and render a list without a framework or database; image preloads come first.

Signature:

export declare function renderList(spec: Record<string, unknown>, rows?: Array<Record<string, unknown>>, options?: RenderListOptions): string;

Parameters

Parameter

Type

Description

spec

Record<string, unknown>

rows

Array<Record<string, unknown>>

(Optional)

options

RenderListOptions

(Optional)

Returns:

string