Report an issue
Class

CKEDITOR.dom.nodeList

class

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

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

Filtering

Methods

  • constructor( nativeList ) → nodeList

    Creates a document class instance.

    Parameters

    nativeList : Object

    Returns

    nodeList
  • count() → Number

    Gets the count of nodes in this list.

    Returns

    Number
  • getItem( index ) → node

    Gets the node from the list.

    Parameters

    index : Object

    Returns

    node
  • toArray() → node[]

    Returns a node list as an array.

    Returns

    node[]