File

src/lib/shared/interfaces/preset-confirmation.interface.ts

Description

Configuration of the confirmation dialog.

Example :
private config: IConfirmationConfig = {
  currentPresetName: 'Current Preset Name',
  newPresetName: 'New Preset Name',
  confirm: {
    label: 'Button Label',
    action: () => {
      console.log('Confirm clicked');
    },
  },
};

See PresetConfirmationComponent

Index

Properties

Properties

cancel
cancel: IPresetConfirmationButtonConfig
Type : IPresetConfirmationButtonConfig

The configuration for the confirm button.

confirm
confirm: IPresetConfirmationButtonConfig
Type : IPresetConfirmationButtonConfig

The configuration for the confirm button.

currentPresetName
currentPresetName: string
Type : string
Optional

The main text to be displayed in the dialog.

newPresetName
newPresetName: string
Type : string
Optional

The additional information to be displayed in the dialog.

overWrite
overWrite: boolean
Type : boolean
Optional

Whether overwrite of a preset is possible.

results matching ""

    No results matching ""