Dear Support,
We are trying to update the event tool tip on our Ionic 7 project using the following code. Can you please help?
export const calendarConfig: Partial<CalendarConfig> = {
date : new Date(),
features : {
eventTooltip : {
titleRenderer( eventRecord ) {
return 'Test';
}
}
}
};
Option 1
<bryntum-calendar
#calendar
[date]="calendarConfig.date!"
[project]="project"
[eventTooltipFeature]="calendarConfig.features.eventTooltip"
></bryntum-calendar>
error TS2532: Object is possibly 'undefined'. (screenshot)
<bryntum-calendar
#calendar
[date]="calendarConfig.date!"
[project]="project"
[eventTooltipFeature]="calendarConfig.features"
></bryntum-calendar>
No Errors but no title.
Thanks in advance