Comment

This interface inherits from CharacterData and represents the content of a comment, i.e., all the characters between the starting '<!--' and ending '-->'.

@safe
interface Comment : CharacterData

Inherited Members

From CharacterData

data
DOMString data [@property getter]
Undocumented in source.
data
DOMString data [@property setter]
Undocumented in source.
length
size_t length [@property getter]
Undocumented in source.
substringData
DOMString substringData(size_t offset, size_t count)

Extracts a substring of data starting at offset, with length count.

appendData
void appendData(DOMString arg)

Append the string to the end of the character data of the node. Upon success, data provides access to the concatenation of data and the DOMString specified.

insertData
void insertData(size_t offset, DOMString arg)

Insert a string at the specified offset.

deleteData
void deleteData(size_t offset, size_t count)

Remove a range of characters from the node. Upon success, data and length reflect the change.

replaceData
void replaceData(size_t offset, size_t count, DOMString arg)

Replace count characters starting at the specified offset with the specified string.

Meta