# IndentUsingOffset

class

The block indentation behavior that uses offsets to set indentation.

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

<a id="properties">

## Properties

<a id="member-isForward">

### `isForward: boolean`

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`

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`

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 } )`

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/indentusingoffset.ts#L49)

#### Parameters

* `indentAttributeValue: string`

#### Returns

* `boolean`

<a id="function-getNextIndent">

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

[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)
