CKEditor 4 Documentation

CKEDITOR.dom.nodeList

Files

Represents a list of CKEDITOR.dom.node objects. It's a wrapper for native nodes list.

var nodeList = CKEDITOR.document.getBody().getChildren();
alert( nodeList.count() ); // number [0;N]
Defined By

Methods

CKEDITOR.dom.nodeList
view source
new( nativeList ) : CKEDITOR.dom.nodeList
Creates a document class instance. ...

Creates a document class instance.

Parameters

  • nativeList : Object

Returns

CKEDITOR.dom.nodeList
view source
( ) : Number
Get count of nodes in this list. ...

Get count of nodes in this list.

Returns

  • Number
CKEDITOR.dom.nodeList
view source
( index ) : CKEDITOR.dom.node
Get node from the list. ...

Get node from the list.

Parameters

  • index : Object

Returns