# DeleteConfirmationDialog Type documentation

## TypeScript declaration

### [DeleteConfirmationDialog](<https://github.com/siemens/element/blob/main/projects/element-ng/action-modal/si-action-dialog.types.ts#L69-L75>)

**Kind:** interface

```
import type { DeleteConfirmationDialog } from '@siemens/element-ng/action-modal';
```

An action dialog for a delete confirmation.

```
interface DeleteConfirmationDialog extends ActionDialogBase<DeleteConfirmationDialogResult>
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [cancelBtnName](<https://github.com/siemens/element/blob/main/projects/element-ng/action-modal/si-action-dialog.types.ts#L74-L74>) (optional) | `TranslatableString` | Label of the cancel button. |
| [delayDismiss](<https://github.com/siemens/element/blob/main/projects/element-ng/action-modal/si-action-dialog.types.ts#L32-L32>) (optional, inherited) | `((result: DeleteConfirmationDialogResult) => Observable<DeleteConfirmationDialogResult>)` | Callback for delaying dismiss with a progress indicator until the returned [Observable](<https://rxjs.dev/api/index/class/Observable>) emits.<br><br>Inherited from [ActionDialogBase\<DeleteConfirmationDialogResult\>](<index.html#t:ActionDialogBase>) |
| [deleteBtnName](<https://github.com/siemens/element/blob/main/projects/element-ng/action-modal/si-action-dialog.types.ts#L72-L72>) (optional) | `TranslatableString` | Label of the delete button. |
| [heading](<https://github.com/siemens/element/blob/main/projects/element-ng/action-modal/si-action-dialog.types.ts#L23-L23>) (optional, inherited) | `TranslatableString` | The heading.<br><br>Inherited from [ActionDialogBase\<DeleteConfirmationDialogResult\>](<index.html#t:ActionDialogBase>) |
| [icon](<https://github.com/siemens/element/blob/main/projects/element-ng/action-modal/si-action-dialog.types.ts#L25-L25>) (optional, inherited) | `string` | Icon displayed in the heading.<br><br>Inherited from [ActionDialogBase\<DeleteConfirmationDialogResult\>](<index.html#t:ActionDialogBase>) |
| [message](<https://github.com/siemens/element/blob/main/projects/element-ng/action-modal/si-action-dialog.types.ts#L21-L21>) (optional, inherited) | `TranslatableString` | The message.<br><br>Inherited from [ActionDialogBase\<DeleteConfirmationDialogResult\>](<index.html#t:ActionDialogBase>) |
| [translationParams](<https://github.com/siemens/element/blob/main/projects/element-ng/action-modal/si-action-dialog.types.ts#L27-L27>) (optional, inherited) | `Record<string, any>` | Parameters for the translate pipe.<br><br>Inherited from [ActionDialogBase\<DeleteConfirmationDialogResult\>](<index.html#t:ActionDialogBase>) |
| [type](<https://github.com/siemens/element/blob/main/projects/element-ng/action-modal/si-action-dialog.types.ts#L70-L70>) | `"delete-confirm"` |  |

### Types Documentation

### [ActionDialogBase](<https://github.com/siemens/element/blob/main/projects/element-ng/action-modal/si-action-dialog.types.ts#L19-L33>)

**Kind:** interface

Base type for all action dialogs

```
interface ActionDialogBase<TResult>
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [delayDismiss](<https://github.com/siemens/element/blob/main/projects/element-ng/action-modal/si-action-dialog.types.ts#L32-L32>) (optional) | `((result: TResult) => Observable<TResult>)` | Callback for delaying dismiss with a progress indicator until the returned [Observable](<https://rxjs.dev/api/index/class/Observable>) emits. |
| [heading](<https://github.com/siemens/element/blob/main/projects/element-ng/action-modal/si-action-dialog.types.ts#L23-L23>) (optional) | `TranslatableString` | The heading. |
| [icon](<https://github.com/siemens/element/blob/main/projects/element-ng/action-modal/si-action-dialog.types.ts#L25-L25>) (optional) | `string` | Icon displayed in the heading. |
| [message](<https://github.com/siemens/element/blob/main/projects/element-ng/action-modal/si-action-dialog.types.ts#L21-L21>) (optional) | `TranslatableString` | The message. |
| [translationParams](<https://github.com/siemens/element/blob/main/projects/element-ng/action-modal/si-action-dialog.types.ts#L27-L27>) (optional) | `Record<string, any>` | Parameters for the translate pipe. |

### [DeleteConfirmationDialogResult](<https://github.com/siemens/element/blob/main/projects/element-ng/action-modal/si-action-dialog.types.ts#L14-L14>)

**Kind:** type alias

```
import type { DeleteConfirmationDialogResult } from '@siemens/element-ng/action-modal';
```

```
type DeleteConfirmationDialogResult = 'delete' | 'cancel'
```

### [TranslatableString](<https://github.com/siemens/element/blob/main/projects/element-translate-ng/translate-types/global.types.ts#L18-L18>)

**Kind:** type alias

```
import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';
```

Represents a translatable string. This can either be a translation key, e.g. `ACTIONS.EDIT` that will be automatically translated when displayed on the UI or a pre-translated string, e.g. `Edit`. Equivalent to a normal string in usage and functionality.

```
type TranslatableString = string & Translatable
```
