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