Kotlin Wrappers API Reference
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
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