The okText property (string) specifies the text of the "OK" button.
Declaration
DayPilot.Modal.okTextDefault 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
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot