Documentation ¶
Index ¶
- func A(content template.HTML, ms ...M) template.HTML
- func B(content template.HTML, ms ...M) template.HTML
- func Body(content template.HTML, ms ...M) template.HTML
- func Br(num ...int) template.HTML
- func Button(content template.HTML, ms ...M) template.HTML
- func Div(content template.HTML, ms ...M) template.HTML
- func Form(content template.HTML, ms ...M) template.HTML
- func H1(content template.HTML, ms ...M) template.HTML
- func H2(content template.HTML, ms ...M) template.HTML
- func H3(content template.HTML, ms ...M) template.HTML
- func H4(content template.HTML, ms ...M) template.HTML
- func H5(content template.HTML, ms ...M) template.HTML
- func H6(content template.HTML, ms ...M) template.HTML
- func I(ms ...M) template.HTML
- func Li(content template.HTML, ms ...M) template.HTML
- func P(content template.HTML, ms ...M) template.HTML
- func Span(content template.HTML, ms ...M) template.HTML
- func Ul(content template.HTML, ms ...M) template.HTML
- type Attribute
- type Element
- func AEl() Element
- func BEl() Element
- func BaseEl() Element
- func BodyEl() Element
- func ButtonEl() Element
- func DivEl() Element
- func FormEl() Element
- func H1El() Element
- func H2El() Element
- func H3El() Element
- func H4El() Element
- func H5El() Element
- func H6El() Element
- func IEl() Element
- func LiEl() Element
- func PEl() Element
- func SpanEl() Element
- func UlEl() Element
- func (b Element) Get() template.HTML
- func (b Element) SetAttr(key, value string) Element
- func (b Element) SetClass(class ...string) Element
- func (b Element) SetContent(content template.HTML) Element
- func (b Element) SetId(id string) Element
- func (b Element) SetStyle(key, value string) Element
- func (b Element) SetStyleAndAttr(ms []M) Element
- func (b Element) SetTag(tag template.HTML) Element
- type M
- type Style
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Element ¶
func (Element) SetStyleAndAttr ¶
Click to show internal directories.
Click to hide internal directories.