Class CKEDITOR.dom.comment
Extends
CKEDITOR.dom.node.
Defined in: core/dom/comment.js.
Constructor Attributes | Constructor Name and Description |
---|---|
CKEDITOR.dom.comment(comment, ownerDocument)
Represents a DOM comment node.
|
- Fields borrowed from class CKEDITOR.dom.domObject:
- $, removeCustomData
Method Attributes | Method Name and Description |
---|---|
- Methods borrowed from class CKEDITOR.dom.node:
- appendTo, clone, getAddress, getAscendant, getCommonAncestor, getDocument, getIndex, getNext, getNextSourceNode, getParent, getParents, getPosition, getPrevious, getPreviousSourceNode, hasAscendant, hasNext, hasPrevious, insertAfter, insertBefore, insertBeforeMe, isReadOnly, ltrim, move, remove, replace, rtrim, trim
- Methods borrowed from class CKEDITOR.dom.domObject:
- clearCustomData, equals, getCustomData, getPrivate, getUniqueId, removeAllListeners, setCustomData
- Methods borrowed from class CKEDITOR.event:
- fire, fireOnce, hasListeners, on, removeListener
Class Detail
CKEDITOR.dom.comment(comment, ownerDocument)
Since:
3.0
Represents a DOM comment node.
var nativeNode = document.createComment( 'Example' ); var comment = CKEDITOR.dom.comment( nativeNode );
var comment = CKEDITOR.dom.comment( 'Example' );
- Parameters:
- {Object|String} comment
- A native DOM comment node or a string containing the text to use to create a new comment node.
- {CKEDITOR.dom.document} ownerDocument Optional
- The document that will contain the node in case of new node creation. Defaults to the current document.
Method Detail
{Undefined}
getOuterHtml()
Since:
3.0
NO EXAMPLE AVAILABLE