Binder

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
Companion
object
trait Modifier[El]
class Object
trait Matchable
class Any
class EventListener[Ev, Out]
class KeyUpdater[El, K, V]

Value members

Abstract methods

def bind(element: El): DynamicSubscription

This method is used by onMountBind to cancel this subscription on unmount

This method is used by onMountBind to cancel this subscription on unmount

Concrete methods

final override def apply(element: El): Unit
Definition Classes
Modifier