Packages

p

com.raquo.laminar

modifiers

package modifiers

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. trait Binder[-El <: Base] extends Modifier[El]

    Binder is a Modifier that creates a subscription when invoked.

    Binder is a Modifier that creates a subscription when invoked. - Note, this Modifier is NOT idempotent: Calling it N times will create and bind N subscriptions - onMountBind can take care of this, see the docs

  2. class EventPropBinder[Ev <: Event] extends Binder[Base]

  3. class Inserter[-El <: Base] extends Modifier[El]

    Inserter is a modifier that lets you insert child node(s) on mount.

    Inserter is a modifier that lets you insert child node(s) on mount. When used with onMountInsert, it "immediately" reserves an insertion spot and then on every mount it inserts the node(s) into the same spot.

    Note: As a Modifier this is not idemponent, but overall it behaves as you would expect. See docs for more details.

    Note: If you DO provide initialContext, its parentNode MUST always be the same element that you apply this Modifier to.

  4. class KeySetter[K <: Key, V, El <: Base] extends Setter[El]

    This class represents a Modifier that sets a Key (e.g.

    This class represents a Modifier that sets a Key (e.g. an attribute or a style) to a specific value on a El. action is what performs this change.

  5. trait Setter[-El <: Base] extends Modifier[El]

    This type represents a modifier that sets a "property" of an element.

    This type represents a modifier that sets a "property" of an element.

    It could be an html attribute, an event prop, or even a custom focus prop, the main constraint is that it should be idempotent, so that applying it several times in a row would produce the same effect as applying it once.

    That way we can provide it to onMountSet { c => setter } and expect things to work if the element is mounted several times.

Value Members

  1. object Binder
  2. object ChildInserter
  3. object ChildrenCommandInserter
  4. object ChildrenInserter
  5. object EventPropBinder
  6. object FocusBinder
  7. object Setter

Ungrouped