pivotick - v2.0.1
    Preparing search index...

    Interface ConfirmOptions

    Options for the confirmation modal handed to DeleteContext.confirm.

    interface ConfirmOptions {
        body?: string | HTMLElement;
        cancelLabel?: string;
        confirmLabel?: string;
        title?: string;
        variant?: "primary" | "danger";
    }
    Index

    Properties

    body?: string | HTMLElement

    Body copy. A string renders as plain text; pass an element to render HTML.

    cancelLabel?: string

    Cancel button label.

    'Cancel'
    
    confirmLabel?: string

    Confirm button label.

    'Confirm'
    
    title?: string

    Modal header.

    'Confirm'
    
    variant?: "primary" | "danger"

    Confirm button styling.

    'danger'