DayPilot.Modal.alert

The alert() method displays custom HTML using a pre-configured modal dialog.

Declaration

DayPilot.Modal.alert(message[, options]);

Parameters

Return Value

Promise object. The success handler will receive the args parameter from onClosed event handler. The failure handler is never called.

Notes

In addition to the standard properties you can specify custom button text using the options object:

  • options.okText

By default, the confirm() modal dialog uses height = 40 and useIframe = false.

Tutorial