The cancelText property (string) specifies the text of the "Cancel" button.
Declaration
DayPilot.Modal.cancelTextDefault Value
"Cancel"Notes
This property only applies to the options object passed to the built-in dialog methods:
Example
DayPilot.Modal.confirm("Do you want to continue?", {
okText: "Yes",
cancelText: "No"
});See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot