# IndentUsingClasses

class

The block indentation behavior that uses classes to set indentation.

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

<a id="properties">

## Properties

<a id="member-classes">

### `classes: Array<string>`

A list of classes used for indentation.

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

<a id="member-isForward">

### `isForward: boolean`

The direction of indentation.

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

<a id="methods">

## Methods

<a id="function-constructor">

### `constructor( config = { config.classes, config.direction } )`

Creates an instance of the indentation behavior.

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

#### Parameters

* `config: object`

  Properties

  * `config.classes: Array<string>`

    A list of classes used for indentation.

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

    The direction of indentation.

<a id="function-checkEnabled">

### `checkEnabled( indentAttributeValue ) → boolean`

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

#### 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/indentusingclasses.ts#L55)

#### Parameters

* `indentAttributeValue: string`

#### Returns

* `string | undefined`

---

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