DayPilot.Modal.okText

The okText property (string) specifies the text of the "OK" button.

Declaration

DayPilot.Modal.okText

Default Value

"OK"

Notes

This property only applies to the options object passed to the built-in dialog methods:

Example

DayPilot.Modal.alert("Hello, world!", {
  okText: "Close"
});

See Also

DayPilot.Modal.cancelText

DayPilot.Modal.alert()

DayPilot.Modal.confirm()

DayPilot.Modal.prompt()

DayPilot.Modal.form()

DayPilot.Modal Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript