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
- Graph
-
- Supertypes
-
trait HxTriggerValuetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Adds the changed modifier.
Adds the consume modifier.
Adds or replaces the delay: modifier.
Replaces the JavaScript filter expression for this trigger.
Replaces the JavaScript filter expression for this trigger.
Js is an intentionally raw JavaScript surface. Do not pass unsanitized user input into this value.
Attributes
- Source
- HxTrigger.scala
Adds or replaces the from: modifier.
Attributes
- Source
- HxTrigger.scala
Adds the once modifier.
Adds or replaces the queue: modifier.
Attributes
- Source
- HxTrigger.scala
Adds or replaces the root: modifier.
Adds or replaces the target: modifier.
Adds or replaces the threshold: modifier.
Adds or replaces the throttle: modifier.
Inherited methods
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