class Template
- Template
- Reference
- Object
Direct Known Subclasses
Defined in:
stimulus/stimulus_controller.crtemplate/method.cr
template/tag_attr.cr
template/template.cr
Constant Summary
-
CONTENT_TAG_NAMES =
["html", "head", "title", "script", "body", "nav", "ul", "li", "a", "div", "p", "strong", "i", "form", "aside", "main", "section", "header", "h1", "h2", "h3", "h4", "h5", "h6", "table", "thead", "tbody", "tr", "td", "span", "dl", "dt", "dd"] of ::String
-
STANDALONE_TAG_NAMES =
["meta", "link", "img", "br"] of ::String
Constructors
Instance Method Summary
- #end_tag(io : IO, name : String)
- #main_docking_point : DockingPoint
- #main_docking_point=(main_docking_point : DockingPoint)
- #standalone_tag(io, name, *attrs)
- #start_tag(io, name, *attrs)
- #tag(io, name, *attrs, &)
- #tag(io, name, *attrs)
- #tag_begin(io : IO, name : String, arg)
- #tag_begin(io : IO, name : String)
- #tag_begin(io : IO, name : String, *args)
Macro Summary
- a(*attrs, &block)
- action(value)
- aside(*attrs, &block)
- body(*attrs, &block)
- br(*attrs)
- capture_elems(&blk)
- dd(*attrs, &block)
- div(*attrs, &block)
- dl(*attrs, &block)
- doctype(dt = "html")
- dt(*attrs, &block)
- eval_exp(&blk)
- form(*attrs, &block)
- h1(*attrs, &block)
- h2(*attrs, &block)
- h3(*attrs, &block)
- h4(*attrs, &block)
- h5(*attrs, &block)
- h6(*attrs, &block)
- head(*attrs, &block)
- header(*attrs, &block)
- href(value)
- html(*attrs, &block)
- i(*attrs, &block)
- img(*attrs)
- li(*attrs, &block)
- link(*attrs)
- main(*attrs, &block)
- meta(*attrs)
- nav(*attrs, &block)
- p(*attrs, &block)
- script(*attrs, &block)
- section(*attrs, &block)
- span(*attrs, &block)
- stimulus_include(code)
- strong(*attrs, &block)
- style(style_class)
- table(*attrs, &block)
- tbody(*attrs, &block)
- td(*attrs, &block)
- template(&blk)
- thead(*attrs, &block)
- title(*attrs, &block)
- tr(*attrs, &block)
- ul(*attrs, &block)