Documentation
¶
Index ¶
- type Attr
- type BooleanAttribute
- type HeadEls
- func (h *HeadEls) Add(defs ...typeInterface)
- func (h *HeadEls) Attr(name, value string) *Attr
- func (h *HeadEls) Collect() []*htmlutil.Element
- func (h *HeadEls) Content(content string) *Attr
- func (h *HeadEls) Description(description string)
- func (h *HeadEls) Href(href string) *Attr
- func (h *HeadEls) Link(defs ...typeInterface)
- func (h *HeadEls) Meta(defs ...typeInterface)
- func (h *HeadEls) Name(name string) *Attr
- func (h *HeadEls) Property(property string) *Attr
- func (h *HeadEls) Rel(rel string) *Attr
- func (h *HeadEls) Title(title string)
- type InnerHTML
- type Instance
- type SelfClosing
- type SortedAndPreEscapedHeadEls
- type Tag
- type TextContent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BooleanAttribute ¶
type BooleanAttribute string
func (BooleanAttribute) GetType ¶
func (BooleanAttribute) GetType() htmlutilType
type HeadEls ¶
type HeadEls struct {
// contains filtered or unexported fields
}
func (*HeadEls) Description ¶
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
func NewInstance ¶
func (*Instance) InitUniqueRules ¶
func (*Instance) Render ¶
func (inst *Instance) Render(input *SortedAndPreEscapedHeadEls) (template.HTML, error)
func (*Instance) ToSortedAndPreEscapedHeadEls ¶
func (inst *Instance) ToSortedAndPreEscapedHeadEls(els []*htmlutil.Element) *SortedAndPreEscapedHeadEls
type SelfClosing ¶
type SelfClosing bool
func (SelfClosing) GetType ¶
func (SelfClosing) GetType() htmlutilType
type TextContent ¶
type TextContent string
func (TextContent) GetType ¶
func (TextContent) GetType() htmlutilType
Click to show internal directories.
Click to hide internal directories.