Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New Creates a new bdi element with the given child nodes. Example: bdi.New(text.Text("username")) Renders: <bdi>username</bdi>
func RawText ¶
func RawText(str string) *element
RawText Creates a new bdi element with raw text content as unescaped HTML. Example: bdi.RawText("<span>User</span>") Renders: <bdi><span>User</span></bdi>
func RawTextf ¶
RawTextf Creates a new bdi element with formatted raw text content as unescaped HTML using text.RawTextf. Example: bdi.RawTextf("<strong>%s</strong>", "User") Renders: <bdi><strong>User</strong></bdi>
func Static ¶
func Static(str string) *element
Static Creates a new bdi element with static text content. Example: bdi.Static("User123") Renders: <bdi>User123</bdi>
Types ¶
Click to show internal directories.
Click to hide internal directories.