Alaja.Wizard.Renderers (Alaja v2.4.0)

Copy Markdown View Source

Internal renderer implementations for Alaja.Wizard.

Each renderer takes an Alaja.Wizard.t/0 and returns an Alaja.Buffer.t/0. Renderers are pure: same input produces the same output.

The five renderer names are deliberately neutral and reusable:

:inline all fields on one line, comma-separated :compact two-column table (label | value) :stacked label above value, blank line between fields :wizard boxed form with a top progress marker :compact_wizard boxed single-line form

Call sites should dispatch via Alaja.Wizard.render/2 rather than calling these directly.

Summary

Functions

compact(w)

compact_wizard(w)

inline(w)

stacked(w)

wizard(w)