src/lib/shared/interfaces/preset-confirmation.interface.ts
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
Properties |
|
| cancel |
cancel:
|
Type : IPresetConfirmationButtonConfig
|
|
The configuration for the confirm button. |
| confirm |
confirm:
|
Type : IPresetConfirmationButtonConfig
|
|
The configuration for the confirm button. |
| currentPresetName |
currentPresetName:
|
Type : string
|
| Optional |
|
The main text to be displayed in the dialog. |
| newPresetName |
newPresetName:
|
Type : string
|
| Optional |
|
The additional information to be displayed in the dialog. |
| overWrite |
overWrite:
|
Type : boolean
|
| Optional |
|
Whether overwrite of a preset is possible. |