انتقل إلى المحتوى

pivotick v3.0.0


محورية / InterractionCallbacks / ConfirmOptions

واجهة: ConfirmOptions ​

محدد في: interfaces/InterractionCallbacks.ts:462

تم تسليم خيارات نموذج التأكيد إلى DeleteContext.confirm.

خصائص ​

body? ​

optional body: string | HTMLElement

محدد في: interfaces/InterractionCallbacks.ts:466

نسخة الجسم. يتم عرض string كنص عادي؛ تمرير عنصر لتقديم HTML.


cancelLabel? ​

optional cancelLabel: string

محدد في: interfaces/InterractionCallbacks.ts:470

إلغاء تسمية الزر.

الافتراضي ​

ts
'Cancel'

confirmLabel? ​

optional confirmLabel: string

محدد في: interfaces/InterractionCallbacks.ts:468

تأكيد تسمية الزر.

الافتراضي ​

ts
'Confirm'

title? ​

optional title: string

محدد في: interfaces/InterractionCallbacks.ts:464

رأس مشروط.

الافتراضي ​

ts
'Confirm'

variant? ​

optional variant: "danger" | "primary"

محدد في: interfaces/InterractionCallbacks.ts:472

تأكيد تصميم الزر.

الافتراضي ​

ts
'danger'