Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TagOpen = []byte("<fieldset") TagClose = []byte("</fieldset>") AttrDisabled = []byte(" disabled") AttrForm = []byte(" form=\"") AttrName = []byte(" name=\"") )
Byte constants for HTML rendering.
Functions ¶
func Disabled ¶ added in v0.3.0
Disabled Creates a disabled fieldset where all descendant form controls are inactive. The legend element and its contents are exempt from disabling. Useful for sections of a form that are conditionally unavailable. Example: fieldset.Disabled(legend.Text("Premium features"), input.Text("code", "")) Renders: <fieldset disabled><legend>Premium features</legend><input name="code" type="text" /></fieldset>
Types ¶
Click to show internal directories.
Click to hide internal directories.