Documentation
¶
Overview ¶
Package el provides shortcuts and helpers to common HTML elements. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element for a list of elements.
Index ¶
- func A(href string, children ...g.Node) g.NodeFunc
- func B(text string) g.NodeFunc
- func Body(children ...g.Node) g.NodeFunc
- func Div(children ...g.Node) g.NodeFunc
- func Document(children ...g.Node) g.NodeFunc
- func Em(text string) g.NodeFunc
- func H1(text string) g.NodeFunc
- func H2(text string) g.NodeFunc
- func H3(text string) g.NodeFunc
- func H4(text string) g.NodeFunc
- func H5(text string) g.NodeFunc
- func H6(text string) g.NodeFunc
- func HTML(children ...g.Node) g.NodeFunc
- func Head(children ...g.Node) g.NodeFunc
- func I(text string) g.NodeFunc
- func Img(src, alt string) g.NodeFunc
- func Li(children ...g.Node) g.NodeFunc
- func Link(children ...g.Node) g.NodeFunc
- func Meta(children ...g.Node) g.NodeFunc
- func Ol(children ...g.Node) g.NodeFunc
- func P(children ...g.Node) g.NodeFunc
- func Span(children ...g.Node) g.NodeFunc
- func Strong(text string) g.NodeFunc
- func Style(children ...g.Node) g.NodeFunc
- func Title(title string) g.NodeFunc
- func Ul(children ...g.Node) g.NodeFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Document ¶
Document returns an special kind of Node that prefixes its children with the string "<!doctype html>".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.