Value
zio.http.htmx.HxSwap.Value
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.
Attributes
- Source
- HxSwap.scala
- Graph
-
- Supertypes
-
trait HxSwaptrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Renders this swap strategy into the literal hx-swap attribute value.
Renders this swap strategy into the literal hx-swap attribute value.
Attributes
- Definition Classes
- Source
- HxSwap.scala
Inherited methods
Sets focusScroll:true or focusScroll:false.
Enables ignoreTitle:true.
An iterator over the names of all the elements of this product.
An iterator over the names of all the elements of this product.
Attributes
- Inherited from:
- Product
- Source
- Product.scala
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
- Returns
-
in the default implementation, an
Iterator[Any] - Inherited from:
- Product
- Source
- Product.scala
Adds a scroll: modifier.
Adds a settle: delay modifier.
Adds a show: modifier.
Adds a swap: delay modifier.
Enables transition:true.
In this article