Documentation ¶
Index ¶
- func A(children ...htm.Fragment) htm.Fragment
- func Body(children ...htm.Fragment) htm.Fragment
- func Button(children ...htm.Fragment) htm.Fragment
- func Code(children ...htm.Fragment) htm.Fragment
- func Div(children ...htm.Fragment) htm.Fragment
- func Emphasis(children ...htm.Fragment) htm.Fragment
- func Form(children ...htm.Fragment) htm.Fragment
- func FormField(label string, name string, opts FormOptions, children ...htm.Fragment) htm.Fragment
- func FormTarget(method string, target string) htm.Fragment
- func H1(children ...htm.Fragment) htm.Fragment
- func H2(children ...htm.Fragment) htm.Fragment
- func H3(children ...htm.Fragment) htm.Fragment
- func H4(children ...htm.Fragment) htm.Fragment
- func H5(children ...htm.Fragment) htm.Fragment
- func H6(children ...htm.Fragment) htm.Fragment
- func Head(children ...htm.Fragment) htm.Fragment
- func HiddenFormField(id Id, name string, value string) htm.Fragment
- func Html(children ...htm.Fragment) htm.Fragment
- func JavaScript(source string, children ...htm.Fragment) htm.Fragment
- func JavaScriptSrc(url string, children ...htm.Fragment) htm.Fragment
- func Label(forId Id, text string, children ...htm.Fragment) htm.Fragment
- func Link(target string, children ...htm.Fragment) htm.Fragment
- func LinkCSS(url string, children ...htm.Fragment) htm.Fragment
- func MetaCharset(charset string) htm.Fragment
- func MetaViewport(value string) htm.Fragment
- func P(children ...htm.Fragment) htm.Fragment
- func Pre(children ...htm.Fragment) htm.Fragment
- func Span(children ...htm.Fragment) htm.Fragment
- func Strong(children ...htm.Fragment) htm.Fragment
- func Style(content string, children ...htm.Fragment) htm.Fragment
- func SubmitButton(text string) htm.Fragment
- func Text(s string) htm.Fragment
- func Textf(format string, a ...any) htm.Fragment
- func Title(title string) htm.Fragment
- type FormFieldKind
- type FormOptions
- type Id
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MetaCharset ¶
func MetaViewport ¶
func SubmitButton ¶
Types ¶
type FormFieldKind ¶
type FormFieldKind string
const ( FormFieldText FormFieldKind = "input" FormFieldNumber FormFieldKind = "number" FormFieldCheckbox FormFieldKind = "checkbox" FormFieldMultilineText FormFieldKind = "textarea" FormFieldSelect FormFieldKind = "select" FormFieldHidden FormFieldKind = "hidden" )
type FormOptions ¶
Click to show internal directories.
Click to hide internal directories.