Open rosalia98 opened 3 years ago
Hello! My understanding of the onDayHeaderSelected is that clicking on the row displaying the days of the week will allow access to some information regarding the events happening in that day. My code:
<calendar [eventSource]="eventSource" calendarMode="week" [currentDate]="calendar.currentDate" (onEventSelected)="navigateToEditDay($event)" (onDayHeaderSelected)="onDayHeaderSelected($event)" startingDayWeek=1 ></calendar>
and in .ts:
.ts
onDayHeaderSelected(event:any){ console.log('header event ', event); }
What I expect to happen is that, clicking on any day in the red rectangle will trigger the event. But nothing gets printed.
@rosalia98 Which version are you using? This method is only exposed starting from version 0.6.8.
Hello! My understanding of the onDayHeaderSelected is that clicking on the row displaying the days of the week will allow access to some information regarding the events happening in that day. My code:
and in
.ts
:What I expect to happen is that, clicking on any day in the red rectangle will trigger the event. But nothing gets printed.