Packages

c

japgolly.scalajs.react.extra.Px

DerivativeBase

sealed abstract class DerivativeBase[A, B, C] extends Derivative[C]

Linear Supertypes
Derivative[C], Px[C], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DerivativeBase
  2. Derivative
  3. Px
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type ValRev = (B, Int)
    Attributes
    protected

Abstract Value Members

  1. abstract def peek: C

    Get the last used value without updating.

    Get the last used value without updating.

    Definition Classes
    Px
  2. abstract def rev: Int

    Revision of its value.

    Revision of its value. Increments when value changes.

    Definition Classes
    Px
  3. abstract def value(): C

    Get the latest value, updating itself if necessary.

    Get the latest value, updating itself if necessary.

    Definition Classes
    Px

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def _init(): ValRev
    Attributes
    protected
  5. final def _revA(): Int
    Attributes
    protected
  6. final def _updateValueIfChanged(): Unit
    Attributes
    protected
  7. final def _value(): B
    Attributes
    protected
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. macro def extract: C

    If this Px contains a function, it can be extracted and the Px dropped from the signature.

    If this Px contains a function, it can be extracted and the Px dropped from the signature. Every time the function is invoked it will use the latest value of this Px, even if you don't explicitly hold a reference to it anymore.

    Example. From a Px[Int => String], an Int => String can be extracted.

    Definition Classes
    Px
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def flatMap[B](f: (C) ⇒ Px[B]): Derivative[B]
    Definition Classes
    Px
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def map[B](f: (C) ⇒ B): Derivative[B]
    Definition Classes
    Px
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. final def toCallback: CallbackTo[C]
    Definition Classes
    Px
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def valueSince(r: Int): Option[C]
    Definition Classes
    Px
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  29. final def withReuse(implicit ev: Reusability[C]): Px[C]

    In addition to updating when the underlying Px changes, this will also check its own result and halt updates if reusable.

    In addition to updating when the underlying Px changes, this will also check its own result and halt updates if reusable.

    Definition Classes
    Derivative

Inherited from Derivative[C]

Inherited from Px[C]

Inherited from AnyRef

Inherited from Any

Ungrouped