Documentation ¶
Index ¶
- Variables
- type AAttrs
- type Attrs
- type BElement
- func Div(a *Attrs, l ...Element) BElement
- func H1(a *Attrs, l ...Element) BElement
- func H2(a *Attrs, l ...Element) BElement
- func H3(a *Attrs, l ...Element) BElement
- func H4(a *Attrs, l ...Element) BElement
- func H5(a *Attrs, l ...Element) BElement
- func H6(a *Attrs, l ...Element) BElement
- func Li(a *Attrs, l ...Element) BElement
- func Ol(a *Attrs, l ...Element) BElement
- func P(a *Attrs, l ...IElement) BElement
- func Ul(a *Attrs, l ...Element) BElement
- type Element
- type IElement
- func A(a *AAttrs, l ...IElement) IElement
- func Em(a *Attrs, l ...IElement) IElement
- func EmText(s string) IElement
- func HighlightText(s string) IElement
- func Span(a *Attrs, l ...IElement) IElement
- func Strong(a *Attrs, l ...IElement) IElement
- func StrongText(s string) IElement
- func Text(s string) IElement
- func Textf(format string, a ...interface{}) IElement
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ArticleAttrs = &Attrs{Class: class{"article"}} HeadingAttrs = &Attrs{Class: class{"heading"}} HighlightAttrs = &Attrs{Class: class{"highlight"}} )
Functions ¶
This section is empty.
Types ¶
type AAttrs ¶
type AAttrs struct { Action actions.ClientAction Class string }
type Element ¶
type IElement ¶
type IElement interface { Element // contains filtered or unexported methods }
func HighlightText ¶
func StrongText ¶
Click to show internal directories.
Click to hide internal directories.