# ResetIndentUsingOffset

class

The list item block indentation behavior that resets offset-based indentation toward zero.

Unlike [`IndentUsingOffset`](module_indent_indentcommandbehavior_indentusingoffset-IndentUsingOffset.md), this behavior is enabled only when the current indentation value can be moved toward zero:

* for forward direction only when the current offset is negative,
* for backward direction only when the current offset is positive.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-indent/src/indentcommandbehavior/resetindentusingoffset.ts#L22)

<a id="properties">

## Properties

<a id="member-isForward">

### `isForward: boolean` _(inherited)_

The direction of indentation.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-indent/src/indentcommandbehavior/indentusingoffset.ts#L21)

<a id="member-offset">

### `offset: number` _(inherited)_

The offset of the next indentation step.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-indent/src/indentcommandbehavior/indentusingoffset.ts#L26)

<a id="member-unit">

### `unit: string` _(inherited)_

Indentation unit.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-indent/src/indentcommandbehavior/indentusingoffset.ts#L31)

<a id="methods">

## Methods

<a id="function-constructor">

### `constructor( config = { config.direction, config.offset, config.unit } )` _(inherited)_

Creates an instance of the indentation behavior.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-indent/src/indentcommandbehavior/indentusingoffset.ts#L40)

#### Parameters

* `config: object`

  Properties

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

    The direction of indentation.

  * `config.offset: number`

    The offset of the next indentation step.

  * `config.unit: string`

    Indentation unit.

<a id="function-checkEnabled">

### `checkEnabled( indentAttributeValue ) → boolean`

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-indent/src/indentcommandbehavior/resetindentusingoffset.ts#L26)

#### Parameters

* `indentAttributeValue: string`

#### Returns

* `boolean`

<a id="function-getNextIndent">

### `getNextIndent( indentAttributeValue ) → string | undefined` _(inherited)_

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-indent/src/indentcommandbehavior/indentusingoffset.ts#L59)

#### Parameters

* `indentAttributeValue: string`

#### Returns

* `string | undefined`

---

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