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.
- Alphabetic
- By Inheritance
- Step3
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Step3(name: String, initState: InitState[P, S], backendFn: NewBackendFn[P, S, B])
Type Members
- type $ = RenderScope[P, S, B]
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def render(r: RenderFn[P, S, B]): Step4[P, None, S, B, None]
-
macro
def
renderBackend: Step4[P, None, S, B, None]
Use a method named
renderin the backend, automatically populating its arguments with props and state where needed. -
macro
def
renderBackendWithChildren: Step4[P, Varargs, S, B, None]
Use a method named
renderin the backend, automatically populating its arguments with props, state, and propsChildren where needed. - def renderC(r: ($, PropsChildren) ⇒ VdomNode): Step4[P, Varargs, S, B, None]
- def renderCS(r: ($, PropsChildren, S) ⇒ VdomNode): Step4[P, Varargs, S, B, None]
- def renderP(r: ($, P) ⇒ VdomNode): Step4[P, None, S, B, None]
- def renderPC(r: ($, P, PropsChildren) ⇒ VdomNode): Step4[P, Varargs, S, B, None]
- def renderPCS(r: ($, P, PropsChildren, S) ⇒ VdomNode): Step4[P, Varargs, S, B, None]
- def renderPS(r: ($, P, S) ⇒ VdomNode): Step4[P, None, S, B, None]
- def renderS(r: ($, S) ⇒ VdomNode): Step4[P, None, S, B, None]
- def renderStatic(r: VdomNode): Step4[P, None, S, B, None]
- def renderWith[C <: Children](r: RenderFn[P, S, B]): Step4[P, C, S, B, None]
- def render_(r: ⇒ VdomNode): Step4[P, None, S, B, None]
- def render_C(r: (PropsChildren) ⇒ VdomNode): Step4[P, Varargs, S, B, None]
- def render_CS(r: (PropsChildren, S) ⇒ VdomNode): Step4[P, Varargs, S, B, None]
- def render_P(r: (P) ⇒ VdomNode): Step4[P, None, S, B, None]
- def render_PC(r: (P, PropsChildren) ⇒ VdomNode): Step4[P, Varargs, S, B, None]
- def render_PCS(r: (P, PropsChildren, S) ⇒ VdomNode): Step4[P, Varargs, S, B, None]
- def render_PS(r: (P, S) ⇒ VdomNode): Step4[P, None, S, B, None]
- def render_S(r: (S) ⇒ VdomNode): Step4[P, None, S, B, None]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
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.