---
title: "IUndoRedoService | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/IUndoRedoService/"
---

# IUndoRedoService

> Service for performing basic operations with redoing and undoing of actions.

## Interfaces

### IUndoRedoService

#### Extended by

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

#### Properties

##### canRedo

```ts
canRedo: boolean;
```

Indicates if the action can be redone.

##### canUndo

```ts
canUndo: boolean;
```

Indicates if the action can be undone.

#### Methods

##### pauseUndoRedo()

```ts
pauseUndoRedo(): void;
```

Pauses saving actions.

###### Returns

`void`

###### Remarks

can be used to combine multiple actions into one.

##### redo()

```ts
redo(): void;
```

Redoes an action.

###### Returns

`void`

##### resumeUndoRedo()

```ts
resumeUndoRedo(): void;
```

Resumes saving actions.

###### Returns

`void`

###### Remarks

can be used to combine multiple actions into one.

##### undo()

```ts
undo(): void;
```

Undoes an action.

###### Returns

`void`
