Data binding
Bind form field data to content.
Inline data binding
Example
import { Composer } from "formsmd";
const composer = new Composer({
id: "my-form"
});
composer.emailInput("email", {
question: "What's your email address?",
required: true
});
composer.slide({});
composer.h1("Welcome, {$ email $}!");
composer.p("Order confirmation will be sent to {$ email $}.");

Block-level data binding
Function overview
Parameters
Name
Type
Description
Example

Group together inputs and content using <div>
<div>Function overview
Example
Last updated