The todayText property (string) sets the text of the "Today" button displayed by the Navigator component.
DayPilot.Navigator.todayText"Today"The value will be HTML-encoded automatically.
If DayPilot.Navigator.todayHtml is not null, it overrides the todayText value.
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"
<!-- ... -->
/>