com.raquo.laminar.keys
Type members
Classlikes
- Companion
- object
This class represents a sequence of transformations that are applied to events feeding into an EventListener EventProcessor-s are immutable, so can be reused by multiple setters.
This class represents a sequence of transformations that are applied to events feeding into an EventListener EventProcessor-s are immutable, so can be reused by multiple setters.
Example syntax: input(onChange().preventDefault.mapTo(true) --> myBooleanWriteBus)
Note: Params are protected to avoid confusing autocomplete options (e.g. "useCapture")
- Value Params
- processor
Processes incoming events before they're passed to the next processor or to the listening EventBus. Returns an Option of the processed value. If None, the value should not passed down the chain.
- shouldUseCapture
(false means using bubble mode) See
useCapture
docs here: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
- Companion
- object
Laminar key specific to a particular set of CompositeAttr values
Laminar key specific to a particular set of CompositeAttr values
ReactiveEventProp is implicitly converted to EventProcessor. See all the useful methods there.
ReactiveEventProp is implicitly converted to EventProcessor. See all the useful methods there.
Note: Unlike other reactive keys, this has to be a wrapping value class because Scala DOM Types instantiates its own Style objects. It is a known deficiency in its API, see https://github.com/raquo/scala-dom-types/issues/2
Note: Unlike other reactive keys, this has to be a wrapping value class because Scala DOM Types instantiates its own Style objects. It is a known deficiency in its API, see https://github.com/raquo/scala-dom-types/issues/2