japgolly.scalajs.react.callback.CallbackOption$
See theCallbackOption companion class
object CallbackOption
Attributes
- Companion
- class
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CallbackOption.type
Members list
Type members
Types
Value members
Concrete methods
def sequence[T <: (Iterable), A](tca: => T[CallbackOption[A]])(using cbf: BuildFrom[T[CallbackOption[A]], A, T[A]]): CallbackOption[T[A]]
NOTE: Technically a proper, lawful sequence should return CallbackOption[Option[A]]
.
NOTE: Technically a proper, lawful sequence should return CallbackOption[Option[A]]
.
Attributes
Tail-recursive callback. Uses constant stack space.
Tail-recursive callback. Uses constant stack space.
Based on Phil Freeman's work on stack safety in PureScript, described in Stack Safety for Free.
Attributes
def traverse[T <: (Iterable), A, B](ta: => T[A])(f: A => CallbackOption[B])(using cbf: BuildFrom[T[A], B, T[B]]): CallbackOption[T[B]]
NOTE: Technically a proper, lawful traversal should return CallbackOption[Option[B]]
.
NOTE: Technically a proper, lawful traversal should return CallbackOption[Option[B]]
.
Attributes
Deprecated methods
Attributes
- Deprecated
- true
Attributes
- Deprecated
- true
Attributes
- Deprecated
- true
Attributes
- Deprecated
- true
Attributes
- Deprecated
- true
def liftOptionLikeCallback[O[_], A](oa: => O[CallbackTo[A]])(implicit O: OptionLike[O]): CallbackOption[A]
Attributes
- Deprecated
- true
Attributes
- Deprecated
- true
Concrete fields
Returns the currently focused HTML element (if there is one).
Returns the currently focused HTML element (if there is one).
Attributes
Extensions
Extensions
Implicits
Implicits
In this article