textarea - Factor Documentation (original) (raw)
textarea
Furnace framework » Furnace presentation layer » HTML components
Prev: | password |
---|---|
Next: | render* ( value name renderer -- xml ) |
Vocabulary
html.components
Class description
Text area components display a multi-line editor for a string value. The rows and cols properties determine the size of the text area.
Definition
Methods
USING: accessors html.components xml.data xml.syntax.private ;
M:: textarea render* ( value name area -- xml )
area rows>> :> rows area cols>> :> cols H{
{ "name" name }
{ "value" value }
{ "cols" cols }
{ "rows" rows }
} T{ xml-chunk
{ seq
V{
""
T{ tag
{ name ~name~ }
{ attrs ~attrs~ }
{ children ~vector~ }
}
""
}
}
} interpolate-xml ;