Kotlin Wrappers API Reference
Toggle table of contents
common
Platform filter
common
Switch theme
kotlin-browser
/
web.worklets
/
Worklet
/
addModule
add
Module
suspend
fun
addModule
(
moduleURL
:
String
,
options
:
WorkletOptions
=
definedExternally
)
(
source
)
The
addModule
(
)
method of the adds it to the current
Worklet
.
MDN Reference
suspend
fun
addModule
(
moduleURL
:
URL
,
options
:
WorkletOptions
=
definedExternally
)
(
source
)