The cornerHtml property (string) sets the HTML to be displayed in the upper-left corner of the calendar.
DayPilot.Calendar.cornerHtmlnullJavaScript
const calendar = new DayPilot.Calendar("dp", {
cornerHtml: DayPilot.Date.today().toString("yyyy"),
// ...
});
calendar.init();Angular
<daypilot-calendar [config]="config"></daypilot-calendar>config: DayPilot.CalendarConfig = {
cornerHtml: DayPilot.Date.today().toString("yyyy"),
// ...
};React
<DayPilotCalendar
cornerHtml={DayPilot.Date.today().toString("yyyy")}
{/* ... */}
/>Vue
<DayPilotCalendar
:cornerHtml="DayPilot.Date.today().toString("yyyy")"
<!-- ... -->
/>