Packages

final class Step3[P, S, B] extends AnyRef

You're on step 3/4 on the way to building a component.

Here you specify your component's render function. For convenience there are a plethora of methods you can call that all do the same thing but accept the argument in different shapes; the suffixes in method names refer to the argument type(s). This means you choose the method that provides the types that you need, rather than having to manually specify the types for all arguments including stuff you don't need.

If you're using a backend, then it's highly recommended that you put your render function in the backend. When you do that, make sure it's called .render and then here in the builder, use the .renderBackend or .renderBackendWithChildren methods which will use a macro to inspect your backend's render method and provide everything it needs automatically.

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

Instance Constructors

  1. new Step3(name: String, initState: InitState[P, S], backendFn: NewBackendFn[P, S, B])

Type Members

  1. type $ = RenderScope[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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def render(r: RenderFn[P, S, B]): Step4[P, None, S, B, None]
  15. macro def renderBackend: Step4[P, None, S, B, None]

    Use a method named render in the backend, automatically populating its arguments with props and state where needed.

  16. macro def renderBackendWithChildren: Step4[P, Varargs, S, B, None]

    Use a method named render in the backend, automatically populating its arguments with props, state, and propsChildren where needed.

  17. def renderC(r: ($, PropsChildren) ⇒ VdomNode): Step4[P, Varargs, S, B, None]
  18. def renderCS(r: ($, PropsChildren, S) ⇒ VdomNode): Step4[P, Varargs, S, B, None]
  19. def renderP(r: ($, P) ⇒ VdomNode): Step4[P, None, S, B, None]
  20. def renderPC(r: ($, P, PropsChildren) ⇒ VdomNode): Step4[P, Varargs, S, B, None]
  21. def renderPCS(r: ($, P, PropsChildren, S) ⇒ VdomNode): Step4[P, Varargs, S, B, None]
  22. def renderPS(r: ($, P, S) ⇒ VdomNode): Step4[P, None, S, B, None]
  23. def renderS(r: ($, S) ⇒ VdomNode): Step4[P, None, S, B, None]
  24. def renderStatic(r: VdomNode): Step4[P, None, S, B, None]
  25. def renderWith[C <: Children](r: RenderFn[P, S, B]): Step4[P, C, S, B, None]
  26. def render_(r: ⇒ VdomNode): Step4[P, None, S, B, None]
  27. def render_C(r: (PropsChildren) ⇒ VdomNode): Step4[P, Varargs, S, B, None]
  28. def render_CS(r: (PropsChildren, S) ⇒ VdomNode): Step4[P, Varargs, S, B, None]
  29. def render_P(r: (P) ⇒ VdomNode): Step4[P, None, S, B, None]
  30. def render_PC(r: (P, PropsChildren) ⇒ VdomNode): Step4[P, Varargs, S, B, None]
  31. def render_PCS(r: (P, PropsChildren, S) ⇒ VdomNode): Step4[P, Varargs, S, B, None]
  32. def render_PS(r: (P, S) ⇒ VdomNode): Step4[P, None, S, B, None]
  33. def render_S(r: (S) ⇒ VdomNode): Step4[P, None, S, B, None]
  34. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped