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