---
title: "IncreaseListItemIndentCmd | Customer&#x27;s Canvas"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/IncreaseListItemIndentCmd/"
archived: false
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Customer's Canvas Hub"
    versions: ["cloud"]
    entity_id: "https://customerscanvas.com/products/hub#software-application"
  - product: "Design Atoms JS"
    versions: ["7.4"]
---

# IncreaseListItemIndentCmd

**Applies to:** Customer's Canvas On-Premises; Customer's Canvas Hub cloud; Design Atoms JS 7.4

> API reference for the IncreaseListItemIndentCmd module in @aurigma/design-atoms-text.

## Classes

### IncreaseListItemIndentCmd

The command to increase the indent of list items by paragraph indexes.

#### Remarks

if paragraphs indexes are not specified, then the current selection (or cursor position) is used.

#### Extends

- [`ListCmd`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/ListCmd.md#abstract-listcmd)

#### Implements

- [`ICommand`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/ICommand.md#icommand)

#### Constructors

##### Constructor

```ts
new IncreaseListItemIndentCmd(textManager, initData): IncreaseListItemIndentCmd;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `textManager` | [`ITextManager`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/ITextManager.md#itextmanager) |
| `initData` | [`IncreaseListItemIndentData`](#increaselistitemindentdata) |

###### Returns

[`IncreaseListItemIndentCmd`](#increaselistitemindentcmd)

###### Overrides

[`ListCmd`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/ListCmd.md#abstract-listcmd).[`constructor`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/ListCmd.md#constructor)

#### Methods

##### execute()

```ts
execute(): boolean;
```

Executes the command.

###### Returns

`boolean`

true if changes were made, false otherwise.

###### Implementation of

[`ICommand`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/ICommand.md#icommand).[`execute`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/ICommand.md#execute)

***

### IncreaseListItemIndentData

Data required to initialize the command.

#### Constructors

##### Constructor

```ts
new IncreaseListItemIndentData(): IncreaseListItemIndentData;
```

###### Returns

[`IncreaseListItemIndentData`](#increaselistitemindentdata)

#### Properties

##### paragraphIndexes?

```ts
optional paragraphIndexes?: number[];
```

Indexes of paragraphs to increase indentation of list items.
