DayPilot.Navigator.todayHtml

The todayHtml property (string) sets the HTML of the "Today" <span> element displayed by the Navigator component.

Declaration

DayPilot.Navigator.todayHtml

Default Value

null

Notes

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

DayPilot.Navigator.todayText

DayPilot.Navigator.showToday

DayPilot.Navigator Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript