checkbox - Factor Documentation (original) (raw)

checkbox
Furnace framework » Furnace presentation layer » HTML components

Prev: xml
Next: choice

Vocabulary
html.components

Class description
Checkbox components render a boolean value. The label slot must be set to a string.

Definition

IN: html.components

TUPLE: checkbox label ;

Methods

USING: accessors html.components kernel xml.data
xml.syntax.private ;

M: checkbox render*
[ "true" and ] [ ] [ label>> ] tri* 3 nenum T{ xml-chunk
{ seq
V{
""
T{ tag
{ name ~name~ }
{ attrs ~attrs~ }
{ children ~vector~ }
}
""
}
}
} interpolate-xml ;