CommentNode

class CommentNode(content: String, domNode: Comment) : WithDomNode<Comment>

Represents a DOM-CommentNode

Parameters

content

comment-content

domNode

wrapped domNode (created by default)

Constructors

CommentNode
Link copied to clipboard
js
fun CommentNode(content: String, domNode: Comment = window.document.createComment(content))
comment-content

Functions

equals
Link copied to clipboard
js
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
js
open fun hashCode(): Int
toString
Link copied to clipboard
js
open fun toString(): String

Properties

domNode
Link copied to clipboard
js
open override val domNode: Comment
wrapped domNode (created by default)