SetTimeoutBinder

io.laminext.core.binders.SetTimeoutBinder
class SetTimeoutBinder[T, El <: Base](value: T, timeout: FiniteDuration, onNext: T => Unit) extends BinderWithStartStop[El]

Attributes

Graph
Supertypes
trait Binder[El]
trait Modifier[El]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def doStart(): Unit
def doStop(): 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
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
Inherited from:
BinderWithStartStop
def start(): Unit

Attributes

Inherited from:
BinderWithStartStop
def stop(): Unit

Attributes

Inherited from:
BinderWithStartStop

Inherited fields

protected var subscribed: Boolean

Attributes

Inherited from:
BinderWithStartStop