The todayHtml property (string) sets the HTML of the "Today" <span> element displayed by the Navigator component.
Declaration
DayPilot.Navigator.todayHtmlDefault Value
nullNotes
The value specifies raw HTML and is not HTML-encoded.
If
todayHtmlis notnull, it overrides the DayPilot.Navigator.todayText value.
Examples
JavaScript
const nav = new DayPilot.Navigator("dp", {
todayHtml: "<strong>Today</strong>",
// ...
});
nav.init();Angular
<daypilot-navigator [config]="config"></daypilot-navigator>config: DayPilot.NavigatorConfig = {
todayHtml: "<strong>Today</strong>",
// ...
};React
<DayPilotNavigator
todayHtml={"<strong>Today</strong>"}
{/* ... */}
/>Vue
<DayPilotNavigator
todayHtml="<strong>Today</strong>"
<!-- ... -->
/>See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot