class
Components::Elements::H1
- Components::Elements::H1
- Components::Elements::Heading
- Components::Elements::ContainerElement
- Components::Elements::HTMLElement
- Reference
- Object
Overview
Represents the
element - top level heading
Defined in:
components/elements/sections/headings.crConstructors
Constructor methods inherited from class Components::Elements::Heading
new(tag_name : String, **attrs)
new
Instance methods inherited from class Components::Elements::ContainerElement
<<(child : ContainerElement) : ContainerElement<<(child : VoidElement | String | RawHTML) : self <<, add_child(child : HTMLElement | String | RawHTML) : self add_child, add_children(*children : HTMLElement | String | RawHTML) : self add_children, add_raw_html(html : String) : self add_raw_html, build(&block : self -> Nil) : self build, children_count : Int32 children_count, clear : self clear, empty? : Bool empty?, render : String render