The todayHtml property (string) sets the HTML of the "Today" <span> element displayed by the Navigator component.
DayPilot.Navigator.todayHtmlnullThe value specifies raw HTML and is not HTML-encoded.
If todayHtml is not null, it overrides the DayPilot.Navigator.todayText value.
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>"
<!-- ... -->
/>