package
Version:
v0.2.4
Opens a new window with list of versions in this module.
Published: Apr 3, 2026
License: MIT
Opens a new window with license information.
Imports: 20
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
New Creates a new nav element with optional child nodes
Example: nav.New()
Renders: <nav></nav>
func RawText(content string) *element
RawText Creates a new nav element with raw text content
func RawTextf(format string, args ...any) *element
RawTextf Creates a new nav element with formatted raw text content as unescaped HTML
func Static(content string) *element
Static Creates a new nav element with static text content
func Text(content string) *element
Text Creates a new nav element with text content
func Textf(format string, args ...any) *element
Textf Creates a new nav element with formatted text content (HTML-encoded)
Element is an exported alias for the private element type
Source Files
¶
Click to show internal directories.
Click to hide internal directories.