Kotlin Wrappers API Reference
Toggle table of contents
common
Platform filter
common
Switch theme
kotlin-browser
/
web.dom
/
Document
/
createComment
create
Comment
fun
createComment
(
data
:
String
)
:
Comment
(
source
)
createComment
(
)
creates a new comment node, and returns it.
MDN Reference