Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Htmx.Render
Description
This module defines a typeclass that doesn't have the historical baggage or
connotations of other text serialization typeclasses (like Show
or Display).
The semantics of this class are supposed to be HTMX specific, i.e. serializing
attribute values
Documentation
A typeclass for rendering domain types into attribute values
Instances
Render HtmxEvent Source # | We render htmx events as kebab case since browsers require lower casing, and both camelCase / kebab-case are supported by htmx
|
Render HtmxExtension Source # | |
Defined in Htmx.Extension Methods render :: HtmxExtension -> Text Source # | |
Render Swap Source # | |