ToHtmxValue

zio.http.htmx.ToHtmxValue
See theToHtmxValue companion object
trait ToHtmxValue[-A]

Type class for rendering typed HTMX DSL values into raw attribute strings.

HtmxAttrKey#:= requires an implicit instance of this type class for the value being assigned. The module ships instances for common primitives, selectors, paths, URLs, JSON values, and the richer HTMX ADTs defined in this package.

Attributes

Companion
object
Source
ToHtmxValue.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def toHtmxValue(value: A): String

Attributes

Source
ToHtmxValue.scala