textline
textline(
opts?):void
Defined in: components/textline.ts:55
A single-line text input — covering text, passwords, numbers, email, dates and
the other line-oriented <input> types.
Renders inside the standard drawField chrome (label, control, help/error), so it aligns cleanly inside a form.
Parameters
Section titled “Parameters”TextlineOptions = {}
Returns
Section titled “Returns”void
Example
Section titled “Example”const $user = A.proxy({email: "test@example.com"});S.textline({ label: "Email", type: "email", required: true, bind: A.ref($user, "email") });