Documentation ¶
Index ¶
- Variables
- type Element
- func A() *Element
- func B() *Element
- func Background() *Element
- func Body() *Element
- func Br() *Element
- func Div() *Element
- func Em() *Element
- func Form() *Element
- func H1() *Element
- func H2() *Element
- func Head() *Element
- func I() *Element
- func Img() *Element
- func Input() *Element
- func Label() *Element
- func Li() *Element
- func Meta() *Element
- func NewElement(tag string) *Element
- func NewHTML() *Element
- func P() *Element
- func Span() *Element
- func Style() *Element
- func Svg() *Element
- func Table() *Element
- func Tbody() *Element
- func Thead() *Element
- func Title() *Element
- func Tr(element ...*TableCell) *Element
- func Ul() *Element
- func (e *Element) AppendChild(child ...*Element) *Element
- func (e *Element) AppendContent(v ...any) *Element
- func (e *Element) AppendHTML(html ...string) *Element
- func (e *Element) Attribute(name, value string) *Element
- func (e *Element) Class(class ...string) *Element
- func (e *Element) Content(v ...any) *Element
- func (e *Element) Contentf(format string, a ...any) *Element
- func (e *Element) HTML() HTML
- func (e *Element) HTMLContent(html string) *Element
- func (e *Element) Href(href string) *Element
- func (e *Element) Name(name string) *Element
- func (e *Element) Src(src string) *Element
- func (e *Element) String() string
- func (e *Element) Style(style string) *Element
- func (e *Element) Title(title string) *Element
- type HTML
- type HTMLer
- type TableCell
- func (cell *TableCell) Abbr(abbr string) *TableCell
- func (cell *TableCell) Class(class ...string) *TableCell
- func (cell *TableCell) Colspan(n uint) *TableCell
- func (cell *TableCell) Headers(headers string) *TableCell
- func (cell *TableCell) Rowspan(n uint) *TableCell
- func (cell *TableCell) Scope(scope string) *TableCell
- func (cell *TableCell) Style(style string) *TableCell
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EscapeString = html.EscapeString UnescapeString = html.UnescapeString )
Functions ¶
This section is empty.
Types ¶
type Element ¶
type Element struct {
// contains filtered or unexported fields
}
func Background ¶
func Background() *Element
func NewElement ¶
func (*Element) AppendChild ¶
func (*Element) AppendContent ¶
func (*Element) AppendHTML ¶
func (*Element) HTMLContent ¶
Click to show internal directories.
Click to hide internal directories.