Handbook
Glossary
component-tag ( tag class -- )
Vocabulary
html
.
templates
.
chloe
.
components
Inputs
tag
an
object
class
an
object
Outputs
None
Definition
IN:
html.templates.chloe.components
GENERIC:
component-tag
( tag class -- )
Methods
USING:
classes.singleton
html.templates.chloe.compiler
html.templates.chloe.components
html.templates.chloe.syntax
kernel
quotations
;
M:
singleton-class
component-tag
[
"name"
required-attr
compile-attr
]
[
literalize
render-quot
[code-with]
]
bi*
;
USING:
classes.tuple
html.templates.chloe.compiler
html.templates.chloe.components
html.templates.chloe.syntax
kernel
;
M:
tuple-class
component-tag
[
drop
"name"
required-attr
compile-attr
]
[
compile-component-attrs
]
2bi
render-quot
[code]
;