Documentation
¶
Index ¶
- func AttributeContext(s string) ghtmx.Component
- func CSSContext(value string) ghtmx.Component
- func ConformanceRow(row string) ghtmx.Component
- func ConformanceRowFragment(row string) ghtmx.Fragment
- func ItemsPage(rows []string) ghtmx.Component
- func JSContext(s string) ghtmx.Component
- func JSONScriptContext(data any) ghtmx.Component
- func RouteBindingContext(id string) ghtmx.Component
- func ScriptElementContext(s string) ghtmx.Component
- func SpreadAttributesContext(attrs ghtmx.Attributes) ghtmx.Component
- func StyleAttributeContext(v string) ghtmx.Component
- func StyleMapContext(m map[string]string) ghtmx.Component
- func TextContext(s string) ghtmx.Component
- func URLContext(s string) ghtmx.Component
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttributeContext ¶
func CSSContext ¶
func ConformanceRow ¶
ConformanceRow renders the fragment inline as a component.
func ConformanceRowFragment ¶
ConformanceRowFragment renders only the fragment, for an htmx swap (FR-031).
func JSONScriptContext ¶
func RouteBindingContext ¶
GetItem is generated from the route examples/hx-bindings registers; that example carries a matching coupling note. Renaming the handler there breaks this mandatory FR-023 case.
func ScriptElementContext ¶
func SpreadAttributesContext ¶
func SpreadAttributesContext(attrs ghtmx.Attributes) ghtmx.Component
func StyleAttributeContext ¶
func TextContext ¶
The NFR-007 rendering conformance corpus: one template per supported output context, driven by conformance_test.go with hostile inputs and exact expected HTML.
func URLContext ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.