zio.http.htmx.HxSwap
See theHxSwap companion trait
object HxSwap
Attributes
- Companion
- trait
- Source
- HxSwap.scala
- Graph
-
- Supertypes
- Self type
-
HxSwap.type
Members list
Type members
Classlikes
object ScrollPosition
Attributes
- Companion
- trait
- Source
- HxSwap.scala
- Supertypes
- Self type
-
ScrollPosition.type
sealed trait ScrollPosition extends Product, Serializable
Valid positions for the scroll: modifier.
Valid positions for the scroll: modifier.
Attributes
- Companion
- object
- Source
- HxSwap.scala
- Supertypes
- Known subtypes
object ShowPosition
Attributes
- Companion
- trait
- Source
- HxSwap.scala
- Supertypes
- Self type
-
ShowPosition.type
sealed trait ShowPosition extends Product, Serializable
Valid positions for the show: modifier.
Valid positions for the show: modifier.
Attributes
- Companion
- object
- Source
- HxSwap.scala
- Supertypes
- Known subtypes
object Strategy
Attributes
- Companion
- trait
- Source
- HxSwap.scala
- Supertypes
- Self type
-
Strategy.type
sealed trait Strategy extends Product, Serializable
Core HTMX swap strategies supported by hx-swap.
Core HTMX swap strategies supported by hx-swap.
Attributes
- Companion
- object
- Source
- HxSwap.scala
- Supertypes
- Known subtypes
-
object AfterBeginobject AfterEndobject BeforeBeginobject BeforeEndobject Deleteobject InnerHTMLobject None_object OuterHTMLobject TextContentShow all
final case class Value(strategy: Strategy, swapDelay: Option[FiniteDuration] = ..., settleDelay: Option[FiniteDuration] = ..., transitionEnabled: Boolean = ..., scroll: Option[ScrollPosition] = ..., show: Option[ShowPosition] = ..., ignoreTitleEnabled: Boolean = ..., focusScroll: Option[Boolean] = ...) extends HxSwap
Concrete swap value with a base strategy and zero or more modifiers.
Concrete swap value with a base strategy and zero or more modifiers.
Attributes
- Source
- HxSwap.scala
- Supertypes
-
trait HxSwaptrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Inherited and Abstract types
The names of the product elements.
The name of the type.
Value members
Concrete methods
Parses a rendered HTMX swap string back into a typed HxSwap value.
Parses a rendered HTMX swap string back into a typed HxSwap value.
The parser accepts the same rendering format produced by render and returns a descriptive error for unsupported strategies or modifiers.
Attributes
- Source
- HxSwap.scala
Concrete fields
Attributes
- Source
- HxSwap.scala
Attributes
- Source
- HxSwap.scala
Attributes
- Source
- HxSwap.scala
Attributes
- Source
- HxSwap.scala
Attributes
- Source
- HxSwap.scala
Attributes
- Source
- HxSwap.scala
Attributes
- Source
- HxSwap.scala
Attributes
- Source
- HxSwap.scala
Attributes
- Source
- HxSwap.scala
Implicits
Implicits
Attributes
- Source
- HxSwap.scala
In this article