SiblingListBlocksIterator (list/list/utils)
@ckeditor/ckeditor5-list/src/list/utils/listwalker
class
Iterates sibling list blocks starting from the given node.
Filtering
Properties
-
private
_previous : null | ListElement
module:list/list/utils/listwalker~SiblingListBlocksIterator#_previous
-
private
_previousNodeIndent : null | number
module:list/list/utils/listwalker~SiblingListBlocksIterator#_previousNodeIndent
-
private
_previousNodesByIndent : Array<ListElement>
module:list/list/utils/listwalker~SiblingListBlocksIterator#_previousNodesByIndent
Methods
-
constructor( node, direction )
module:list/list/utils/listwalker~SiblingListBlocksIterator#constructor
Parameters
node : null | Node
The model node.
direction : 'forward' | 'backward'
Iteration direction.
Defaults to
'forward'
-
Symbol.iterator() → IterableIterator<ListIteratorValue>
module:list/list/utils/listwalker~SiblingListBlocksIterator#Symbol.iterator
-
next() → IteratorResult<ListIteratorValue, any>
module:list/list/utils/listwalker~SiblingListBlocksIterator#next
Every day, we work hard to keep our documentation complete. Have you spotted outdated information? Is something missing? Please report it via our issue tracker.
With the release of version 42.0.0, we have rewritten much of our documentation to reflect the new import paths and features. We appreciate your feedback to help us ensure its accuracy and completeness.