Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New Creates a new tbody element with optional child nodes (typically tr elements). Example: tbody.New() Renders: <tbody></tbody>
func RawText ¶
func RawText(content string) *element
RawText Creates a new tbody element with raw text content as unescaped HTML. Example: tbody.RawText("<strong>Table</strong> body content") Renders: <tbody><strong>Table</strong> body content</tbody>
func RawTextf ¶
RawTextf Creates a new tbody element with formatted raw text content as unescaped HTML using text.RawTextf. Example: tbody.RawTextf("<strong>%s</strong> body content", "Table") Renders: <tbody><strong>Table</strong> body content</tbody>
func Static ¶
func Static(content string) *element
Static Creates a new tbody element with static text content. Example: tbody.Static("Hello World") Renders: <tbody>Hello World</tbody>