EventModifier

zio.http.datastar.EventModifier
See theEventModifier companion trait
object EventModifier

Attributes

Companion
trait
Source
EventModifier.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class And(left: EventModifier, right: EventModifier) extends EventModifier

Concatenates two modifier suffixes in left-to-right order.

Concatenates two modifier suffixes in left-to-right order.

Attributes

Source
EventModifier.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object Capture extends EventModifier

Registers the listener during the capture phase.

Registers the listener during the capture phase.

Attributes

Source
EventModifier.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Capture.type
final case class Debounce(millis: Long, leading: Boolean) extends EventModifier

Debounces event handling for the specified interval.

Debounces event handling for the specified interval.

Attributes

Source
EventModifier.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Delay(millis: Long) extends EventModifier

Delays event handling by the specified interval.

Delays event handling by the specified interval.

Attributes

Source
EventModifier.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object Document extends EventModifier

Attaches the listener to document.

Attaches the listener to document.

Attributes

Source
EventModifier.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Document.type
case object Once extends EventModifier

Handles the event at most once.

Handles the event at most once.

Attributes

Source
EventModifier.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Once.type
case object Outside extends EventModifier

Restricts handling to events originating outside the bound element.

Restricts handling to events originating outside the bound element.

Attributes

Source
EventModifier.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Outside.type
case object Passive extends EventModifier

Marks the listener as passive.

Marks the listener as passive.

Attributes

Source
EventModifier.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Passive.type
case object Prevent extends EventModifier

Calls preventDefault() during event handling.

Calls preventDefault() during event handling.

Attributes

Source
EventModifier.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Prevent.type
case object Stop extends EventModifier

Calls stopPropagation() during event handling.

Calls stopPropagation() during event handling.

Attributes

Source
EventModifier.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Stop.type
final case class Throttle(millis: Long, leading: Boolean) extends EventModifier

Throttles event handling for the specified interval.

Throttles event handling for the specified interval.

Attributes

Source
EventModifier.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object ViewTransition extends EventModifier

Wraps handling in a view transition when supported.

Wraps handling in a view transition when supported.

Attributes

Source
EventModifier.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object Window extends EventModifier

Attaches the listener to window.

Attaches the listener to window.

Attributes

Source
EventModifier.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Window.type

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala