Documentation
¶
Index ¶
- func Document(root Node) document
- type Attributer
- type Node
- func A(children ...Node) Node
- func Body(children ...Node) Node
- func Button(children ...Node) Node
- func Details(children ...Node) Node
- func Div(children ...Node) Node
- func Element(tag string, children ...Node) Node
- func Footer(children ...Node) Node
- func For[T any](items []T, fn func(T) Node) Node
- func Form(children ...Node) Node
- func Group(children ...Node) Node
- func H1(children ...Node) Node
- func H2(children ...Node) Node
- func H3(children ...Node) Node
- func HTML(children ...Node) Node
- func Head(children ...Node) Node
- func Header(children ...Node) Node
- func Hr(children ...Node) Node
- func If(condition bool, node Node) Node
- func IfElse(condition bool, thenNode Node, elseNode Node) Node
- func IfElsef(condition bool, thenFn func() Node, elseFn func() Node) Node
- func Iff(condition bool, fn func() Node) Node
- func Img(children ...Node) Node
- func Input(children ...Node) Node
- func Label(children ...Node) Node
- func Li(children ...Node) Node
- func Link(children ...Node) Node
- func Main(children ...Node) Node
- func Meta(children ...Node) Node
- func Nav(children ...Node) Node
- func Option(children ...Node) Node
- func P(children ...Node) Node
- func Script(children ...Node) Node
- func Section(children ...Node) Node
- func Select(children ...Node) Node
- func Span(children ...Node) Node
- func Summary(children ...Node) Node
- func Table(children ...Node) Node
- func Tbody(children ...Node) Node
- func Td(children ...Node) Node
- func Text(content string) Node
- func Textarea(children ...Node) Node
- func Title(children ...Node) Node
- func Tr(children ...Node) Node
- func Ul(children ...Node) Node
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Attributer ¶
Click to show internal directories.
Click to hide internal directories.