CRUDUI

Home > @polyspec/crudui-generator-html

crudui-generator-html package

Functions

Function

Description

renderData(form)

Render the current submission data of a form instance.

renderDataPanel(data, messages)

Render current data markup directly from the data.

renderDetail(spec, record, options)

Compose, evaluate and render one read-only detail without a framework or database.

renderForm(form, options)

Render the current form instance as the complete form (form-runtime.md, "Complete form").

renderFormView(fields, buttons, messages, options, description)

Render the complete form for evaluated nodes and form buttons, as returned by bindForm, bindButtons and formDescription. options.action has no template action here. description is the translated root description, written first in the crudui-form block when it is not empty.

renderList(spec, rows, options)

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

renderOutline(form)

Render the structure map of a form instance with its form controls.

renderOutlineView(state, messages)

Render structure map markup for evaluated nodes returned by bindForm.

Interfaces

Interface

Description

RenderListOptions

Options for framework-independent list HTML rendering.