Pivotick / InterractionCallbacks / ConfirmOptions
Interface: ConfirmOptions
Definiert in: interfaces/InterractionCallbacks.ts:462
Optionen für das Bestätigungsmodal, das an DeleteContext.confirm übergeben wird.
Eigenschaften
body?
optionalbody:string|HTMLElement
Definiert in: interfaces/InterractionCallbacks.ts:466
Fließtext. Ein string wird als einfacher Text gerendert; Übergeben Sie ein Element zum Rendern von HTML.
cancelLabel?
optionalcancelLabel:string
Definiert in: interfaces/InterractionCallbacks.ts:470
Beschriftung der Schaltfläche „Abbrechen“.
Standardwert
'Cancel'confirmLabel?
optionalconfirmLabel:string
Definiert in: interfaces/InterractionCallbacks.ts:468
Bestätigen Sie die Schaltflächenbeschriftung.
Standardwert
'Confirm'title?
optionaltitle:string
Definiert in: interfaces/InterractionCallbacks.ts:464
Modaler Header.
Standardwert
'Confirm'variant?
optionalvariant:"danger"|"primary"
Definiert in: interfaces/InterractionCallbacks.ts:472
Bestätigen Sie den Tastenstil.
Standardwert
'danger'