RElementBuilderImpl

open class RElementBuilderImpl<out P : Props>(val attrs: P) : RBuilderImpl, RElementBuilder<P> (source)

Constructors

Link copied to clipboard
constructor(attrs: P)

Properties

Link copied to clipboard
open override val attrs: P
Link copied to clipboard
Link copied to clipboard
open var key: Key?
Link copied to clipboard
open var ref: Ref<*>?

Functions

Link copied to clipboard
open fun attrs(handler: P.() -> Unit)
Link copied to clipboard
open fun child(element: ReactNode)
open fun <P : Props> child(klazz: KClass<out Component<P, *>>, handler: RHandler<P>)
open fun <P : Props> child(type: ElementType<P>, props: P = jso(), handler: RHandler<P>? = null)
Link copied to clipboard
inline fun <P : Props, C : Component<P, *>> RBuilder.child(noinline handler: RHandler<P>)
Link copied to clipboard
Link copied to clipboard
open operator fun <P : Props> ElementType<P>.invoke()
open operator fun <T> Consumer<T>.invoke(handler: RBuilder.(T) -> Unit)
open operator fun <P : Props> ElementType<P>.invoke(handler: RHandler<P>)
open operator fun <T> Provider<T>.invoke(value: T, handler: RHandler<ProviderProps<T>>)
Link copied to clipboard
open operator fun String.unaryPlus()
open operator fun ReactNode.unaryPlus()