conformance

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttributeContext

func AttributeContext(s string) ghtmx.Component

func CSSContext

func CSSContext(value string) ghtmx.Component

func ConformanceRow

func ConformanceRow(row string) ghtmx.Component

ConformanceRow renders the fragment inline as a component.

func ConformanceRowFragment

func ConformanceRowFragment(row string) ghtmx.Fragment

ConformanceRowFragment renders only the fragment, for an htmx swap (FR-031).

func ItemsPage

func ItemsPage(rows []string) ghtmx.Component

func JSContext

func JSContext(s string) ghtmx.Component

func JSONScriptContext

func JSONScriptContext(data any) ghtmx.Component

func RouteBindingContext

func RouteBindingContext(id string) ghtmx.Component

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 ScriptElementContext(s string) ghtmx.Component

func SpreadAttributesContext

func SpreadAttributesContext(attrs ghtmx.Attributes) ghtmx.Component

func StyleAttributeContext

func StyleAttributeContext(v string) ghtmx.Component

func StyleMapContext

func StyleMapContext(m map[string]string) ghtmx.Component

func TextContext

func TextContext(s string) ghtmx.Component

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

func URLContext(s string) ghtmx.Component

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL