• Show confirm dialog. Work without Jodit object

    Example

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

    Parameters

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

      Title or callback

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

      callback. The first argument is the value entered

        • (yes: boolean): false | void
        • Parameters

          • yes: boolean

          Returns false | void

    Returns IDialog

Jodit PRO

If you like Jodit - try Jodit PRO