html.components vocabulary - Factor Documentation (original) (raw)

html.components vocabulary
Factor handbook » Vocabulary index

Documentation
HTML components

Metadata

Parents: html
Tags: web
Authors: Slava Pestov, Daniel Ehrenberg

Words

Tuple classes

Class Superclass Slots
checkbox tuple label
choice tuple size multiple choices
code tuple mode
farkup tuple no-follow disable-images parsed
field tuple size
link tuple target
password tuple size
simple-link tuple title href
textarea tuple rows cols

Singleton classes

comparison
hidden
html
inspector
label
xml

Generic words

Word Stack effect
link-href ( obj -- url )
link-title ( obj -- string )
render* ( value name renderer -- xml )

Ordinary words

Word Stack effect
( -- checkbox )
( -- choice )
( -- code )
( -- farkup )
( -- field )
( -- password )
( title href -- simple-link )
( -- renderer )
?split-lines ( str/f -- seq )
render ( name renderer -- )
render-field ( value name size type -- xml )
render-option ( text selected? -- xml )
render-options ( value choice -- xml )
render-string ( name renderer -- )
render>xml ( name renderer -- xml )
string>boolean ( string -- boolean )

Class predicate words

Word Stack effect
checkbox? ( object -- ? )
choice? ( object -- ? )
code? ( object -- ? )
comparison? ( object -- ? )
farkup? ( object -- ? )
field? ( object -- ? )
hidden? ( object -- ? )
html? ( object -- ? )
inspector? ( object -- ? )
label? ( object -- ? )
link? ( object -- ? )
password? ( object -- ? )
simple-link? ( object -- ? )
textarea? ( object -- ? )
xml? ( object -- ? )

Files

resource:basis/html/components/components.factor
resource:basis/html/components/components-docs.factor
resource:basis/html/components/components-tests.factor

Metadata files

resource:basis/html/components/authors.txt
resource:basis/html/components/summary.txt
resource:basis/html/components/tags.txt