DataOnIntersect

zio.http.datastar.DataOnIntersect
final class DataOnIntersect(val modifier: Maybe[IntersectModifier])

Builder for data-on-intersect Datastar attributes.

Visibility, timing, and transition modifiers are encoded into the final attribute name. Repeated modifiers are normalized to a single effective suffix. Use once, half, full, exit, threshold, delay, debounce, throttle, and viewTransition to model Datastar's supported intersection semantics.

Attributes

Source
DataOnIntersect.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def :=[T](value: T)(implicit toDatastarExpr: ToDatastarExpr[T]): Attribute

Assigns the Datastar expression rendered for this intersect trigger.

Assigns the Datastar expression rendered for this intersect trigger.

Attributes

Source
DataOnIntersect.scala
def debounce(millis: Long): DataOnIntersect

Attributes

Source
DataOnIntersect.scala
def delay(millis: Long): DataOnIntersect

Attributes

Source
DataOnIntersect.scala

Attributes

Source
DataOnIntersect.scala

Attributes

Source
DataOnIntersect.scala

Attributes

Source
DataOnIntersect.scala

Attributes

Source
DataOnIntersect.scala
def threshold(pct: Double): DataOnIntersect

Attributes

Source
DataOnIntersect.scala
def throttle(millis: Long): DataOnIntersect

Attributes

Source
DataOnIntersect.scala