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