zio.http.htmx
Members list
Packages
Type members
Classlikes
This object was generated by sbt-buildinfo.
This object was generated by sbt-buildinfo.
Attributes
- Source
- BuildInfo.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
-
BuildInfo.type
Attributes
- Companion
- class
- Source
- HtmxAttrKey.scala
- Supertypes
- Self type
-
HtmxAttrKey.type
Typed key for a single HTMX attribute.
Typed key for a single HTMX attribute.
Unlike zio.blocks.html.AttributeKey, this key carries the expected value type for the attribute itself. This keeps rich HTMX attributes such as hx-swap, hx-trigger, and hx-target from silently accepting unrelated raw strings while still allowing explicit URL/string surfaces where HTMX itself expects them.
Attributes
- Companion
- object
- Source
- HtmxAttrKey.scala
- Supertypes
Mixin providing the typed HTMX hx-* attribute DSL for zio.blocks.html.
Mixin providing the typed HTMX hx-* attribute DSL for zio.blocks.html.
Typical usage is through the package object via import zio.http.htmx._. Attribute keys in this trait delegate value rendering to ToHtmxValue, so custom domain values can participate in the DSL by defining their own instances.
Event-handler attributes are exposed through hxOn, which writes literal JavaScript expressions to hx-on:* attributes instead of generic string values.
Most attributes are intentionally narrower than plain HTML strings. For example, hxSwap accepts HxSwap, hxTarget accepts HxTarget, and selector-only attributes accept CssSelector. This makes accidental stringly misuse fail at compile time while keeping explicit URL/string surfaces for request attributes.
Attributes
- Source
- HtmxAttributes.scala
- Supertypes
Attributes
- Companion
- class
- Source
- HxAttributeValues.scala
- Supertypes
- Self type
-
HxAttributeNames.type
Space-separated set of HTMX attribute names rendered for hx-disinherit.
Space-separated set of HTMX attribute names rendered for hx-disinherit.
Attributes
- Companion
- object
- Source
- HxAttributeValues.scala
- Supertypes
Encodings supported by the hx-encoding attribute.
Encodings supported by the hx-encoding attribute.
The current DSL exposes HTMX's explicit multipart form encoding for requests that include file uploads or other multipart data.
HTMX's default URL-encoded form behavior is represented by omitting the attribute entirely, so there is no separate DSL value for the default case.
Attributes
- Companion
- object
- Source
- HxEncoding.scala
- Supertypes
- Known subtypes
-
object Multipart
Attributes
- Companion
- trait
- Source
- HxEncoding.scala
- Supertypes
- Self type
-
HxEncoding.type
Comma-separated set of HTMX extension names rendered for hx-ext.
Comma-separated set of HTMX extension names rendered for hx-ext.
Attributes
- Companion
- object
- Source
- HxAttributeValues.scala
- Supertypes
Attributes
- Companion
- class
- Source
- HxAttributeValues.scala
- Supertypes
- Self type
-
HxExtensions.type
Attributes
- Companion
- class
- Source
- HxAttributeValues.scala
- Supertypes
- Self type
-
HxHeadersValue.type
Schema-backed or raw-JSON value for hx-headers.
Schema-backed or raw-JSON value for hx-headers.
Use from to encode a schema-backed value to JSON, or json when you already have a Json value.
Attributes
- Companion
- object
- Source
- HxAttributeValues.scala
- Supertypes
Typed key for an hx-on:* attribute bound to a specific event name.
Typed key for an hx-on:* attribute bound to a specific event name.
Attributes
- Companion
- object
- Source
- HtmxAttributes.scala
- Supertypes
Attributes
- Companion
- class
- Source
- HtmxAttributes.scala
- Supertypes
- Self type
-
HxOnKey.type
Attributes
- Companion
- trait
- Source
- HxParams.scala
- Supertypes
- Self type
-
HxParams.type
Typed parameter inclusion strategies for the hx-params attribute.
Typed parameter inclusion strategies for the hx-params attribute.
Attributes
- Companion
- object
- Source
- HxParams.scala
- Supertypes
- Known subtypes
Typed representation of an hx-swap value.
Typed representation of an hx-swap value.
Start from one of the predefined strategies such as HxSwap.InnerHTML or HxSwap.AfterEnd, then add modifiers like swap, settle, transition, scroll, show, ignoreTitle, and focusScroll.
Attributes
- Companion
- object
- Source
- HxSwap.scala
- Supertypes
- Known subtypes
-
class Value
Attributes
- Companion
- trait
- Source
- HxSwap.scala
- Supertypes
- Self type
-
HxSwap.type
Attributes
- Companion
- class
- Source
- HxAttributeValues.scala
- Supertypes
- Self type
-
HxSwapOob.type
Typed value for hx-swap-oob.
Typed value for hx-swap-oob.
The value can be a simple boolean flag or a swap strategy optionally scoped to a selector.
Attributes
- Companion
- object
- Source
- HxAttributeValues.scala
- Supertypes
Typed hx-sync value pairing a target selector with a synchronization strategy.
Typed hx-sync value pairing a target selector with a synchronization strategy.
Attributes
- Companion
- object
- Source
- HxSync.scala
- Supertypes
Attributes
- Companion
- class
- Source
- HxSync.scala
- Supertypes
- Self type
-
HxSync.type
Synchronization strategies supported by the hx-sync attribute.
Synchronization strategies supported by the hx-sync attribute.
Attributes
- Companion
- object
- Source
- HxSync.scala
- Supertypes
- Known subtypes
Attributes
- Companion
- trait
- Source
- HxSync.scala
- Supertypes
- Self type
-
HxSyncStrategy.type
Attributes
- Companion
- trait
- Source
- HxTarget.scala
- Supertypes
- Self type
-
HxTarget.type
Typed representation of the target selector forms accepted by HTMX.
Typed representation of the target selector forms accepted by HTMX.
These values are used by attributes such as hx-target, hx-include, and hx-sync.
Attributes
- Companion
- object
- Source
- HxTarget.scala
- Supertypes
- Known subtypes
Attributes
- Companion
- class
- Source
- HxTrigger.scala
- Supertypes
- Self type
-
HxTrigger.type
Typed representation of a single hx-trigger declaration.
Typed representation of a single hx-trigger declaration.
A trigger starts with an event name and can be refined with an optional JavaScript filter plus normalized modifier groups such as delay, throttle, source selector, queue strategy, threshold, or root selector.
Attributes
- Companion
- object
- Source
- HxTrigger.scala
- Supertypes
-
trait HxTriggerValuetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- HxTrigger.scala
- Supertypes
- Self type
-
HxTriggerSet.type
Rendered collection of comma-separated HTMX triggers.
Rendered collection of comma-separated HTMX triggers.
Attributes
- Companion
- object
- Source
- HxTrigger.scala
- Supertypes
-
trait HxTriggerValuetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- trait
- Source
- HxTrigger.scala
- Supertypes
- Self type
-
HxTriggerValue.type
Common rendered shape for hx-trigger values.
Common rendered shape for hx-trigger values.
Attributes
- Companion
- object
- Source
- HxTrigger.scala
- Supertypes
- Known subtypes
-
class HxTriggerclass HxTriggerSet
Typed values for HTMX URL-bearing attributes such as hx-push-url and hx-replace-url.
Typed values for HTMX URL-bearing attributes such as hx-push-url and hx-replace-url.
Attributes
- Companion
- object
- Source
- HxAttributeValues.scala
- Supertypes
- Known subtypes
Attributes
- Companion
- trait
- Source
- HxAttributeValues.scala
- Supertypes
- Self type
-
HxUrlUpdate.type
Schema-backed or raw-JSON value for hx-vals.
Schema-backed or raw-JSON value for hx-vals.
Use from to encode a schema-backed value to JSON, or json when you already have a Json value.
Attributes
- Companion
- object
- Source
- HxAttributeValues.scala
- Supertypes
Attributes
- Companion
- class
- Source
- HxAttributeValues.scala
- Supertypes
- Self type
-
HxVals.type
Partial builder for event-specific hx-on:* attributes.
Partial builder for event-specific hx-on:* attributes.
Attributes
- Source
- HtmxAttributes.scala
- Supertypes
Type class for rendering typed HTMX DSL values into raw attribute strings.
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
- Supertypes
Attributes
- Companion
- trait
- Source
- ToHtmxValue.scala
- Supertypes
- Self type
-
ToHtmxValue.type
Value members
Inherited methods
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Inherited fields
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Builder for event-specific hx-on:* attributes.
Builder for event-specific hx-on:* attributes.
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala
Attributes
- Inherited from:
- HtmxAttributes
- Source
- HtmxAttributes.scala