pCon.basket - Plugin Development
    Preparing search index...

    Interface MessageBoxOptions

    interface MessageBoxOptions {
        buttons: string[];
        canClose?: boolean;
        canCopy?: boolean;
        canReportAsError?: boolean;
        customContent?: string | (() => ReactNode);
        detailMessage?: string;
        icon?: MessageBoxIcon;
        iconName?: string;
        iconUrl?: string;
        isSignificant?: boolean;
        message: string;
        messageIsPreformatted?: boolean;
        noPrimaryButton?: boolean;
        title: string;
    }
    Index
    buttons: string[]

    Array of buttons for the message box. A custom text or a predefined text can be used e.g. egr.wbkApp.commonResources.buttonOk

    canClose?: boolean

    if true the message box can be closed (default: true)

    canCopy?: boolean

    if true the message can be copied to clipboard (default: false)

    canReportAsError?: boolean

    if true the message can be reported as an error (default: false)

    customContent?: string | (() => ReactNode)

    Optional custom content. Can be an html string or a function returning a ReactNode.

    detailMessage?: string

    optional preformatted details

    Optional predefined icon.

    iconName?: string

    Optional icon defined by name.

    iconUrl?: string

    Optional custom icon defined by an image url.

    isSignificant?: boolean

    If true the message box will be displayed with high priority and will overlay even the global loading indicator. (default: false)

    message: string
    messageIsPreformatted?: boolean
    noPrimaryButton?: boolean

    If true the first button will not be the primary button.

    fasle
    
    title: string