BinderWithStartStop

io.laminext.core.binders.BinderWithStartStop
abstract class BinderWithStartStop[-El <: Base] extends Binder[El]

Attributes

Graph
Supertypes
trait Binder[El]
trait Modifier[El]
class Object
trait Matchable
class Any
Known subtypes

Members list

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

Attributes

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

Attributes

Definition Classes
Binder -> Modifier
Inherited from:
Binder

Concrete fields

protected var subscribed: Boolean