Skip to content

ActionDialog Type documentation

TypeScript declaration

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

All possible action dialogs.

Types Documentation

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

An action dialog showing an alert

Properties
import type { ConfirmationDialog } from '@siemens/element-ng/action-modal';

An action dialog for a confirmation.

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

An action dialog for a delete confirmation.

Properties
import type { EditDiscardDialog } from '@siemens/element-ng/action-modal';

An action dialog for an edit/discard prompt.

Properties
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.

Base type for all action dialogs

Properties
import type { AlertDialogResult } from '@siemens/element-ng/action-modal';

ConfirmationDialogResult

'confirm' | 'decline'
type alias
import type { ConfirmationDialogResult } from '@siemens/element-ng/action-modal';

EditDiscardDialogResult

'save' | 'discard' | 'cancel'
type alias
import type { EditDiscardDialogResult } from '@siemens/element-ng/action-modal';
import type { DeleteConfirmationDialogResult } from '@siemens/element-ng/action-modal';

Except where otherwise noted, content on this site is licensed under MIT License.