BinderWithStartStop

abstract class BinderWithStartStop[-El <: Base] extends Binder[El]
trait Binder[El]
trait Modifier[El]
class Object
trait Matchable
class Any

Value members

Abstract methods

def doStart(): Unit
def doStop(): Unit

Concrete methods

override 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

Definition Classes
Binder
def start(): Unit
def stop(): Unit

Inherited methods

final override def apply(element: El): Unit

You can count on this method being a no-op in your libraries and end user code.

You can count on this method being a no-op in your libraries and end user code.

The reason this method is not abstract is to avoid broken SAM sugar in case of meta modifiers. See https://github.com/raquo/scala-dom-types/issues/27

Definition Classes
Binder -> Modifier
Inherited from:
Binder

Concrete fields

protected var subscribed: Boolean