object JsFn extends JsBaseComponentTemplate[StatelessFunctionalComponent]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- JsFn
- JsBaseComponentTemplate
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- sealed trait ComponentSimple[P, CT[-p, +u] <: CtorType[p, u], U] extends Generic.ComponentSimple[P, CT, U]
- Definition Classes
- JsBaseComponentTemplate
- sealed trait ComponentWithRoot[P1, CT1[-p, +u] <: CtorType[p, u], U1, P0 <: Object, CT0[-p, +u] <: CtorType[p, u], U0] extends ComponentSimple[P1, CT1, U1] with Generic.ComponentWithRoot[P1, CT1, U1, P0, CT0, U0]
- Definition Classes
- JsBaseComponentTemplate
- type Component[P <: Object, CT[-p, +u] <: CtorType[p, u]] = ComponentWithRoot[P, CT, Unmounted[P], P, CT, Unmounted[P]]
- final type ComponentRoot[P <: Object, CT[-p, +u] <: CtorType[p, u], U] = ComponentWithRoot[P, CT, U, P, CT, U]
- Definition Classes
- JsBaseComponentTemplate
- type Mounted = Unit
- trait ToRawCtor[P, C <: Children] extends AnyRef
- Annotations
- @implicitNotFound()
- final case class ToRawReactElement[-A](run: (A) => Element) extends AnyVal with Product with Serializable
- Annotations
- @implicitNotFound()
- type Unmounted[P <: Object] = UnmountedWithRoot[P, Mounted, P]
- type UnmountedRoot[P <: Object] = UnmountedWithRoot[P, Mounted, P]
- sealed trait UnmountedSimple[P, M] extends Generic.UnmountedSimple[P, M]
- sealed trait UnmountedWithRoot[P1, M1, P0 <: Object] extends UnmountedSimple[P1, M1] with Generic.UnmountedWithRoot[P1, M1, P0, Mounted]
- type UnusedObject = Box[Unit]
Type used when creating a JsFnComponent that ignores its props
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[P <: Object, C <: Children](raw: Any)(implicit s: Summoner[P, C], where: File, line: Line): Component[P, CT]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def componentRoot[P <: Object, CT[-p, +u] <: CtorType[p, u], U](rc: StatelessFunctionalComponent[P], c: CT[P, U])(implicit pf: Profunctor[CT]): ComponentRoot[P, CT, U]
- Definition Classes
- JsBaseComponentTemplate
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def force[P <: Object, C <: Children](raw: Any)(implicit s: Summoner[P, C]): Component[P, CT]
- def fromJsFn[P <: Object, C <: Children](render: Function1[P with PropsWithChildren, Element])(implicit s: Summoner[P, C]): Component[P, CT]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def mappedC[P2, CT2[-p, +u] <: CtorType[p, u], U2, P1, CT1[-p, +u] <: CtorType[p, u], U1, P0 <: Object, CT0[-p, +u] <: CtorType[p, u], U0](from: ComponentWithRoot[P1, CT1, U1, P0, CT0, U0])(cp: (P2) => P1, mc: (CT1[P1, U1]) => CT2[P1, U1], mu: (U1) => U2, pf: Profunctor[CT2]): ComponentWithRoot[P2, CT2, U2, P0, CT0, U0]
- Attributes
- protected
- Definition Classes
- JsBaseComponentTemplate
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def rawComponentDisplayName[A <: Object](r: StatelessFunctionalComponent[A]): String
- Attributes
- protected
- Definition Classes
- JsFn → JsBaseComponentTemplate
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unmountedRoot[P <: Object](r: ComponentElement[P]): UnmountedRoot[P]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- object ToRawCtor
- object ToRawReactElement extends Serializable
- object fromScala
Create JS functional components from Scala.