japgolly.scalajs.react.CompStateAccess

Ops

Related Doc: package CompStateAccess

final class Ops[C, S] extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Ops
  2. AnyVal
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Ops(_c: C)

Type Members

  1. type CC = CompStateAccess[C, S]

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  2. final def ##(): Int

    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  7. def lift(implicit C: CC): CompStateFocus[S]

  8. def modState(f: (S) ⇒ S, cb: OpCallback = undefined)(implicit C: CC): Unit

    Annotations
    @inline()
  9. def setState(s: S, cb: OpCallback = undefined)(implicit C: CC): Unit

    Annotations
    @inline()
  10. def state(implicit C: CC): S

    Annotations
    @inline()
  11. def toString(): String

    Definition Classes
    Any
  12. def zoom[T](f: (S) ⇒ T)(g: (S, T) ⇒ S)(implicit C: CC): CompStateFocus[T]

    Zoom-in on a subset of the state.

Deprecated Value Members

  1. def focusState[T](f: (S) ⇒ T)(g: (S, T) ⇒ S)(implicit C: CC): CompStateFocus[T]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.9.2) focusState has been renamed to zoom for consistency. focusState will be removed in 0.10.0

  2. def focusStateId(implicit C: CC): CompStateFocus[S]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.9.2) focusStateId has been renamed to lift. focusStateId will be removed in 0.10.0

Inherited from AnyVal

Inherited from Any

Ungrouped