The todayText property (string) sets the text of the "Today" button displayed by the Navigator component.
Declaration
DayPilot.Navigator.todayTextDefault Value
"Today"Notes
The value will be HTML-encoded automatically.
If DayPilot.Navigator.todayHtml is not
null, it overrides thetodayTextvalue.
Examples
JavaScript
const nav = new DayPilot.Navigator("dp", {
todayText: "Go to Today",
// ...
});
nav.init();Angular
<daypilot-navigator [config]="config"></daypilot-navigator>config: DayPilot.NavigatorConfig = {
todayText: "Go to Today",
// ...
};React
<DayPilotNavigator
todayText="Go to Today"
{/* ... */}
/>Vue
<DayPilotNavigator
todayText="Go to Today"
<!-- ... -->
/>See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot