# SiblingListBlocksIterator

class

Iterates sibling list blocks starting from the given node.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-list/src/list/utils/listwalker.ts#L199)

<a id="properties">

## Properties

<a id="member-_isForward">

### `_isForward: boolean` _(private)_

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-list/src/list/utils/listwalker.ts#L201)

<a id="member-_node">

### `_node: ModelNode | null` _(private)_

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-list/src/list/utils/listwalker.ts#L200)

<a id="member-_previous">

### `_previous: ListElement | null` _(private)_

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-list/src/list/utils/listwalker.ts#L203)

<a id="member-_previousNodeIndent">

### `_previousNodeIndent: number | null` _(private)_

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-list/src/list/utils/listwalker.ts#L204)

<a id="member-_previousNodesByIndent">

### `_previousNodesByIndent: Array<ListElement>` _(private)_

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-list/src/list/utils/listwalker.ts#L202)

<a id="methods">

## Methods

<a id="function-constructor">

### `constructor( node, direction )`

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-list/src/list/utils/listwalker.ts#L210)

#### Parameters

* `node: ModelNode | null`

  The model node.

* `direction: 'forward' | 'backward'`

  Iteration direction.

  Defaults to `'forward'`

<a id="function-Symbol.iterator">

### `Symbol.iterator() → IterableIterator<ListIteratorValue>`

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-list/src/list/utils/listwalker.ts#L218)

#### Returns

* `IterableIterator<ListIteratorValue>`

<a id="function-next">

### `next() → IteratorResult<ListIteratorValue>`

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-list/src/list/utils/listwalker.ts#L222)

#### Returns

* `IteratorResult<ListIteratorValue>`

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
