EditDiscardDialog Type documentation¶
TypeScript declaration¶
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 ? : Whether to disable the save button. disableSave ? : Label of the discard button when disableSave is set. Message when disableSave is set. Label of the discard button. The heading. heading ? : Icon displayed in the heading. icon ? : The message. message ? : Label of the save button. Parameters for the translate pipe. translationParams ? : import type { EditDiscardDialog } from '@siemens/element-ng/action-modal';
((result: EditDiscardDialogResult) => Observable<EditDiscardDialogResult>) Inherited from ActionDialogBase<EditDiscardDialogResult> ¶ boolean ¶ TranslatableString Inherited from ActionDialogBase<EditDiscardDialogResult> ¶ string Inherited from ActionDialogBase<EditDiscardDialogResult> ¶ TranslatableString Inherited from ActionDialogBase<EditDiscardDialogResult> ¶ 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 ? : The heading. Icon displayed in the heading. The message. Parameters for the translate pipe. translationParams ? :
((result: TResult) => Observable<TResult>) ¶ Record<string, any> ¶
import type { EditDiscardDialogResult } from '@siemens/element-ng/action-modal';
Represents a translatable string. This can either be a translation key, e.g. import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';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.