Class

japgolly.scalajs.react.component.builder.Lifecycle

ComponentDidMount

Related Doc: package Lifecycle

Permalink

final class ComponentDidMount[P, S, B] extends AnyVal with StateRW[P, S, B] with ForceUpdate[P, S, B]

Linear Supertypes
ForceUpdate[P, S, B], StateRW[P, S, B], StateW[P, S, B], WriteWithProps[CallbackTo, P, S], ModStateWithProps[CallbackTo, P, S], Write[CallbackTo, S], ModState[CallbackTo, S], SetState[CallbackTo, S], Base[P, S, B], AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ComponentDidMount
  2. ForceUpdate
  3. StateRW
  4. StateW
  5. WriteWithProps
  6. ModStateWithProps
  7. Write
  8. ModState
  9. SetState
  10. Base
  11. AnyVal
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ComponentDidMount(raw: RawMounted[P, S, B])

    Permalink

Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. final def backend: B

    Permalink
    Definition Classes
    Base
  6. final def forceUpdate(cb: Callback): Callback

    Permalink
    Definition Classes
    ForceUpdate
  7. final def forceUpdate: Callback

    Permalink
    Definition Classes
    ForceUpdate
  8. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  9. def getDOMNode: Mounted

    Permalink
  10. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  11. final def modState(mod: (S, P) ⇒ S, callback: Callback): Callback

    Permalink

    callback

    Executed after state is changed.

    Definition Classes
    StateWModStateWithProps
  12. final def modState(mod: (S) ⇒ S, callback: Callback): Callback

    Permalink

    callback

    Executed after state is changed.

    Definition Classes
    StateWModState
  13. final def modState(mod: (S, P) ⇒ S): CallbackTo[Unit]

    Permalink
    Definition Classes
    ModStateWithProps
  14. final def modState(mod: (S) ⇒ S): CallbackTo[Unit]

    Permalink
    Definition Classes
    ModState
  15. final def modStateOption(mod: (S, P) ⇒ Option[S], callback: Callback): Callback

    Permalink

    callback

    Executed regardless of whether state is changed.

    Definition Classes
    StateWModStateWithProps
  16. final def modStateOption(mod: (S) ⇒ Option[S], callback: Callback): Callback

    Permalink

    callback

    Executed regardless of whether state is changed.

    Definition Classes
    StateWModState
  17. final def modStateOption(mod: (S, P) ⇒ Option[S]): CallbackTo[Unit]

    Permalink
    Definition Classes
    ModStateWithProps
  18. final def modStateOption(mod: (S) ⇒ Option[S]): CallbackTo[Unit]

    Permalink
    Definition Classes
    ModState
  19. final def mountedImpure: MountedImpure[P, S, B]

    Permalink
    Definition Classes
    Base
  20. final def mountedPure: MountedPure[P, S, B]

    Permalink
    Definition Classes
    Base
  21. def props: P

    Permalink
  22. def propsChildren: PropsChildren

    Permalink
  23. val raw: RawMounted[P, S, B]

    Permalink
    Definition Classes
    ComponentDidMountBase
  24. final def setState(newState: S, callback: Callback): Callback

    Permalink

    callback

    Executed after state is changed.

    Definition Classes
    StateWSetState
  25. final def setState(newState: S): CallbackTo[Unit]

    Permalink
    Definition Classes
    SetState
  26. final def setStateOption(newState: Option[S], callback: Callback): Callback

    Permalink

    callback

    Executed regardless of whether state is changed.

    Definition Classes
    StateWSetState
  27. final def setStateOption(newState: Option[S]): CallbackTo[Unit]

    Permalink
    Definition Classes
    SetState
  28. final def state: S

    Permalink
    Definition Classes
    StateRW
  29. def toModStateFn: ModStateFn[CallbackTo, S]

    Permalink
    Definition Classes
    ModState
  30. def toModStateWithPropsFn: ModStateWithPropsFn[CallbackTo, P, S]

    Permalink
    Definition Classes
    ModStateWithProps
  31. def toSetStateFn: SetStateFn[CallbackTo, S]

    Permalink
    Definition Classes
    SetState
  32. def toString(): String

    Permalink
    Definition Classes
    ComponentDidMount → Any

Deprecated Value Members

  1. final def modStateFn[I](f: (I) ⇒ (S) ⇒ S, callback: Callback = Callback.empty): (I) ⇒ CallbackTo[Unit]

    Permalink
    Definition Classes
    ModState
    Annotations
    @deprecated
    Deprecated

    (Since version 1.2.0) Create a function yourself. If you're using this in Reusable.fn(…), use Reusable.fn.state(this.zoom…).mod instead

  2. final def modStateOptionFn[I](f: (I) ⇒ (S) ⇒ Option[S], callback: Callback = Callback.empty): (I) ⇒ CallbackTo[Unit]

    Permalink
    Definition Classes
    ModState
    Annotations
    @deprecated
    Deprecated

    (Since version 1.2.0) Create a function yourself. If you're using this in Reusable.fn(…), use Reusable.fn.state(this.zoom…).modOption instead

  3. final def setStateFn[I](f: (I) ⇒ S, callback: Callback = Callback.empty): (I) ⇒ CallbackTo[Unit]

    Permalink
    Definition Classes
    SetState
    Annotations
    @deprecated
    Deprecated

    (Since version 1.2.0) Create a function yourself. If you're using this in Reusable.fn(…), use Reusable.fn.state(this.zoom…).set instead

  4. final def setStateOptionFn[I](f: (I) ⇒ Option[S], callback: Callback = Callback.empty): (I) ⇒ CallbackTo[Unit]

    Permalink
    Definition Classes
    SetState
    Annotations
    @deprecated
    Deprecated

    (Since version 1.2.0) Create a function yourself. If you're using this in Reusable.fn(…), use Reusable.fn.state(this.zoom…).setOption instead

Inherited from ForceUpdate[P, S, B]

Inherited from StateRW[P, S, B]

Inherited from StateW[P, S, B]

Inherited from WriteWithProps[CallbackTo, P, S]

Inherited from ModStateWithProps[CallbackTo, P, S]

Inherited from Write[CallbackTo, S]

Inherited from ModState[CallbackTo, S]

Inherited from SetState[CallbackTo, S]

Inherited from Base[P, S, B]

Inherited from AnyVal

Inherited from Any

Ungrouped