o

japgolly.scalajs.react

ScalaComponent

object ScalaComponent

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalaComponent
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type BackendScope[P, S] = component.Generic.MountedWithRoot[Sync, util.DefaultEffects.Async, P, S, P, S]
  2. type Builder[P, C <: Children, S, B, US <: UpdateSnapshot] = LastStep[P, C, S, B, US]
  3. type Component[P, S, B, CT[-p, +u] <: CtorType[p, u]] = component.Js.ComponentWithRoot[P, CT, component.Scala.Unmounted[P, S, B], Box[P], CT, component.Scala.JsUnmounted[P, S, B]]
  4. type Config[P, C <: Children, S, B, US <: UpdateSnapshot, US2 <: UpdateSnapshot] = (LastStep[P, C, S, B, US]) => LastStep[P, C, S, B, US2]

    This is terrible and repulsive but Scala doesn't allow anything less repulsive.

    This is terrible and repulsive but Scala doesn't allow anything less repulsive. We'll keep this correctly modelling the reality for now and soon see if maybe we can use macros to simplify it's creation (and avoid the need to use this explicitly).

  5. type JsComponent[P, S, B, CT[-p, +u] <: CtorType[p, u]] = component.Js.ComponentWithRoot[Box[P], CT, UnmountedWithRawType[Box[P], Box[S], component.Js.RawMounted[Box[P], Box[S]] with component.Scala.Vars[P, S, B]], Box[P], CT, UnmountedWithRawType[Box[P], Box[S], component.Js.RawMounted[Box[P], Box[S]] with component.Scala.Vars[P, S, B]]]
  6. type JsMounted[P, S, B] = component.Js.MountedWithRoot[Id, util.DefaultEffects.Async, Box[P], Box[S], component.Js.RawMounted[Box[P], Box[S]] with component.Scala.Vars[P, S, B], Box[P], Box[S]]
  7. type JsUnmounted[P, S, B] = UnmountedWithRoot[Box[P], MountedWithRawType[Box[P], Box[S], component.Js.RawMounted[Box[P], Box[S]] with component.Scala.Vars[P, S, B]], Box[P], MountedWithRawType[Box[P], Box[S], component.Js.RawMounted[Box[P], Box[S]] with component.Scala.Vars[P, S, B]]]
  8. type Mounted[F[_], A[_], P, S, B] = component.Scala.MountedWithRoot[F, A, P, S, B, P, S]
  9. type MountedImpure[P, S, B] = component.Scala.MountedWithRoot[Id, util.DefaultEffects.Async, P, S, B, P, S]
  10. type MountedPure[P, S, B] = component.Scala.MountedWithRoot[Sync, util.DefaultEffects.Async, P, S, B, P, S]
  11. type MountedRoot[F[_], A[_], P, S, B] = component.Scala.MountedWithRoot[F, A, P, S, B, P, S]
  12. type MountedSimple[F[_], A[_], P, S, B] = component.Scala.MountedSimple[F, A, P, S, B]
  13. type MountedWithRoot[F[_], A[_], P1, S1, B, P0, S0] = component.Scala.MountedWithRoot[F, A, P1, S1, B, P0, S0]
  14. type RawMounted[P, S, B] = component.Js.RawMounted[Box[P], Box[S]] with component.Scala.Vars[P, S, B]
  15. type Unmounted[P, S, B] = UnmountedWithRoot[P, component.Scala.MountedImpure[P, S, B], Box[P], component.Scala.JsMounted[P, S, B]]
  16. type Vars[P, S, B] = component.Scala.Vars[P, S, B]

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. val Lifecycle: component.builder.Lifecycle.type
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val builder: EntryPoint.type
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def mountRaw[P, S, B](x: RawMounted[P, S, B]): component.Scala.MountedImpure[P, S, B]
    Annotations
    @inline()
  15. def mountedRoot[P, S, B](x: JsMounted[P, S, B]): component.Scala.MountedRoot[Id, util.DefaultEffects.Async, P, S, B]
    Annotations
    @inline()
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. macro def static(content: VdomNode): Component[Unit, Unit, Unit, Nullary]

    Create a component that always displays the same content, never needs to be redrawn, never needs vdom diffing.

  20. macro def static(displayName: => String)(content: VdomNode): Component[Unit, Unit, Unit, Nullary]

    Create a component that always displays the same content, never needs to be redrawn, never needs vdom diffing.

  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped