ComPDFKit Web SDK
    Preparing search index...

    Interface WarningMessageOptions

    Options of UI.showWarningMessage.

    interface WarningMessageOptions {
        confirmBtnText?: string;
        message?: string;
        onCancel?: () => unknown;
        onConfirm?: () => unknown;
        title?: string;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index
    confirmBtnText?: string

    Text of the confirm button, or a translation key.

    message?: string

    Text of the message, or a translation key.

    onCancel?: () => unknown

    Called when the dialog is cancelled.

    onConfirm?: () => unknown

    Called when the confirm button is clicked.

    title?: string

    Title of the dialog, or a translation key.