Documentation ¶
Index ¶
- Variables
- func If(condition bool) ifWrapper
- type Attribute
- type Node
- func (node Node) Accept(value string) Node
- func (node Node) Align(value string) Node
- func (node *Node) Append(children ...Node)
- func (node Node) Attribute(attributeName, value string) Node
- func (node Node) Autoplay() Node
- func (node Node) Children(children ...Node) Node
- func (node Node) Content(value string) Node
- func (node Node) Controls() Node
- func (node Node) D(value string) Node
- func (node Node) Default() Node
- func (node Node) Fill(value string) Node
- func (node Node) For(value string) Node
- func (node Node) Height(value uint) Node
- func (node Node) HeightFloat(value float64) Node
- func (node Node) Kind(value string) Node
- func (node Node) Label(value string) Node
- func (node Node) Media(value string) Node
- func (node Node) Method(value string) Node
- func (node Node) Multiple() Node
- func (node Node) Placeholder(value string) Node
- func (node Node) Rel(value string) Node
- func (node Node) Selected(value string) Node
- func (node Node) Srclang(value string) Node
- func (node Node) String() string
- func (node Node) Stroke(value string) Node
- func (node Node) Text(text string) Node
- func (node Node) TextUnsafe(text string) Node
- func (node Node) Title(value string) Node
- func (node Node) Width(value uint) Node
- func (node Node) WidthFloat(value float64) Node
- func (node Node) WriteTo(writer io.Writer) (int64, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var A = makeNodeFunc("a")
View Source
var Action = makeAttribute("action")
View Source
var Body = makeNodeFunc("body")
View Source
var Button = makeNodeFunc("button")
View Source
var Charset = makeAttribute("charset")
View Source
var Class = makeAttribute("class")
View Source
var Div = makeNodeFunc("div")
View Source
var Form = makeNodeFunc("form")
View Source
var H1 = makeNodeFunc("h1")
View Source
var H2 = makeNodeFunc("h2")
View Source
var H3 = makeNodeFunc("h3")
View Source
var H4 = makeNodeFunc("h4")
View Source
var H5 = makeNodeFunc("h5")
View Source
var Head = makeNodeFunc("head")
View Source
var Hr = makeNodeFunc("hr")
View Source
var Href = makeAttribute("href")
View Source
var Html = makeNodeFunc("html")
View Source
var I = makeNodeFunc("i")
View Source
var Id = makeAttribute("id")
View Source
var Img = makeNodeFunc("img")
View Source
var Input = makeNodeFunc("input")
View Source
var Label = makeNodeFunc("label")
View Source
var Li = makeNodeFunc("li")
View Source
var Link = makeNodeFunc("link")
View Source
var Meta = makeNodeFunc("meta")
View Source
var Method = makeAttribute("method")
View Source
var Name = makeAttribute("name")
View Source
var Ol = makeNodeFunc("ol")
View Source
var Option = makeNodeFunc("option")
View Source
var P = makeNodeFunc("p")
View Source
var Path = makeNodeFunc("path")
View Source
var Pre = makeNodeFunc("pre")
View Source
var Script = makeNodeFunc("script")
View Source
var Select = makeNodeFunc("select")
View Source
var Source = makeNodeFunc("source")
View Source
var Span = makeNodeFunc("span")
View Source
var Src = makeAttribute("src")
View Source
var Style = makeNodeFunc("style")
View Source
var Svg = makeNodeFunc("svg")
View Source
var Table = makeNodeFunc("table")
View Source
var Tbody = makeNodeFunc("tbody")
View Source
var Td = makeNodeFunc("td")
View Source
var Textarea = makeNodeFunc("textarea")
View Source
var Th = makeNodeFunc("th")
View Source
var Thead = makeNodeFunc("thead")
View Source
var Title = makeNodeFunc("title")
View Source
var Tr = makeNodeFunc("tr")
View Source
var Track = makeNodeFunc("track")
View Source
var Type = makeAttribute("type")
View Source
var Ul = makeNodeFunc("ul")
View Source
var Value = makeAttribute("value")
View Source
var Video = makeNodeFunc("video")
Functions ¶
Types ¶
type Node ¶
type Node struct { Attributes []Attribute // contains filtered or unexported fields }
func TextUnsafe ¶
func (Node) HeightFloat ¶
func (Node) Placeholder ¶
func (Node) TextUnsafe ¶
Same as Text() but doesn't escape html
func (Node) WidthFloat ¶
Click to show internal directories.
Click to hide internal directories.