DayPilot.DatePicker.todayText

The todayText property (string) sets the text of the Today button displayed by the date picker component.

Declaration

DayPilot.DatePicker.todayText

Possible 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

DayPilot.DatePicker.showToday

DayPilot.DatePicker Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript