• Show confirm dialog. Work without Jodit object

    Parameters

    • this: unknown
    • msg: string
    • title: undefined | string | ((yes) => void)

      Title or callback

    • Optional callback: ((yes) => false | void)

      callback. The first argument is the value entered

        • (yes): false | void
        • Parameters

          • yes: boolean

          Returns false | void

    Returns IDialog

    Example

    Jodit.Confirm("Are you sure?", "Confirm Dialog", function (yes) {
    if (yes) {
    // do something
    }
    });

Jodit PRO

If you like Jodit - try Jodit PRO