W3cubDocs

/Haxe JavaScript

Comment

package js.html

extends CharacterDataNodeEventTarget

Available on js

The Comment interface represents textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view. Comments are represented in HTML and XML as content between '!--' and '--'. In XML, the character sequence '--' cannot be used within a comment.

Documentation Comment by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Constructor

new(data:String = "")

Throws:

null

DOMError

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/Comment.html