toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-react-dom
/
react.dom.client
/
createRoot
create
Root
external
fun
createRoot
(
container
:
Element
,
options
:
RootOptions
=
definedExternally
)
:
Root
(
source
)
external
fun
createRoot
(
container
:
DocumentFragment
,
options
:
RootOptions
=
definedExternally
)
:
Root
(
source
)
external
fun
createRoot
(
container
:
Document
,
options
:
RootOptions
=
definedExternally
)
:
Root
(
source
)