EditDiscardDialog Type documentation¶
TypeScript declaration¶
import type { EditDiscardDialog } from '@siemens/element-ng/action-modal';An action dialog for an edit/discard prompt.
-
Label of the cancel button.
-
Callback for delaying dismiss with a progress indicator until the returned Observable emits.
delayDismiss?:
((result: EditDiscardDialogResult) => Observable<EditDiscardDialogResult>)Inherited from ActionDialogBase<EditDiscardDialogResult>¶ -
Whether to disable the save button.
-
Label of the discard button when disableSave is set.
-
Message when disableSave is set.
-
Label of the discard button.
-
The heading.
heading?:
TranslatableStringInherited from ActionDialogBase<EditDiscardDialogResult>¶ -
Icon displayed in the heading.
icon?:
stringInherited from ActionDialogBase<EditDiscardDialogResult>¶ -
The message.
message?:
TranslatableStringInherited from ActionDialogBase<EditDiscardDialogResult>¶ -
Label of the save button.
-
Parameters for the translate pipe.
translationParams?:
Record<string, any>Inherited from ActionDialogBase<EditDiscardDialogResult>¶
Types Documentation¶
Base type for all action dialogs
-
Callback for delaying dismiss with a progress indicator until the returned Observable emits.
delayDismiss?:
((result: TResult) => Observable<TResult>)¶ -
The heading.
-
Icon displayed in the heading.
-
The message.
-
Parameters for the translate pipe.
translationParams?:
Record<string, any>¶
import type { EditDiscardDialogResult } from '@siemens/element-ng/action-modal'; 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.
Except where otherwise noted, content on this site is licensed under MIT License.