toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-browser
/
web.dom
/
Element
/
attachShadow
attach
Shadow
fun
attachShadow
(
init
:
ShadowRootInit
)
:
ShadowRoot
(
source
)
Creates a shadow root for element and returns it.
MDN Reference