File

overlay/src/layouts/confirmation/confirmation.types.ts

Description

Configuration of the confirmation dialog.

Example :
private config: IConfirmationConfig = {
  level: ConfirmationLevel.Info,
  message: 'My Confirmation Message',
  confirm: {
    label: 'Button Label',
    action: () => {
      console.log('Confirm clicked');
    },
  },
};

Import

Example :
import { IConfirmationConfig } from '@talenra/components/overlay';

See ConfirmationComponent

Index

Properties

Properties

additionalCancel
additionalCancel: IConfirmationButtonConfig
Type : IConfirmationButtonConfig
Optional

The configuration for the additional cancel button.

additionalConfirm
additionalConfirm: IConfirmationButtonConfig
Type : IConfirmationButtonConfig
Optional

The configuration for the additional action button.

additionalInformation
additionalInformation: string
Type : string
Optional

The additional information to be displayed in the dialog.

cancel
cancel: IConfirmationButtonConfig
Type : IConfirmationButtonConfig
Optional

The configuration for the cancel button.

confirm
confirm: IConfirmationButtonConfig
Type : IConfirmationButtonConfig

The configuration for the confirm button.

displayWaitingIndicator
displayWaitingIndicator: boolean
Type : boolean
Optional

Whether the waiting indicator should be shown at the beginning.

isAdditionalInformationCollapsible
isAdditionalInformationCollapsible: boolean
Type : boolean
Optional

Whether additional information's visibility can be toggled.

isContentCopyable
isContentCopyable: boolean
Type : boolean
Optional

Whether a CopyContent button is shown.

level
level: TConfirmationLevel
Type : TConfirmationLevel

The name of the icon to be displayed in the dialog.

message
message: string
Type : string
Optional

The main text to be displayed in the dialog.

results matching ""

    No results matching ""