The todayText property (string) sets the text of the Today button displayed by the date picker component.
Declaration
DayPilot.DatePicker.todayTextPossible Values
string- text shown on the Today button.
Default Value
"Today"Notes
The property value is HTML-encoded automatically before it is displayed.
Example
const picker = new DayPilot.DatePicker("dp", {
todayText: "Go to Today"
});See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot