Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New Creates a new thead element with optional child nodes. Example: thead.New() Renders: <thead></thead>
func RawText ¶
func RawText(content string) *element
RawText Creates a new thead element with raw text content. Example: thead.RawText("Table header") Renders: <thead>Table header</thead>
func RawTextf ¶
RawTextf Creates a new thead element with formatted raw text content as unescaped HTML. Example: thead.RawTextf("Header <em>%s</em>", "Text") Renders: <thead>Header <em>Text</em></thead>
func Static ¶
func Static(content string) *element
Static Creates a new thead element with static text content. Example: thead.Static("Hello World") Renders: <thead>Hello World</thead>
Types ¶
Click to show internal directories.
Click to hide internal directories.