Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onDayHeaderSelected question #618

Open
rosalia98 opened this issue Jul 5, 2021 · 1 comment
Open

onDayHeaderSelected question #618

rosalia98 opened this issue Jul 5, 2021 · 1 comment

Comments

@rosalia98
Copy link

rosalia98 commented Jul 5, 2021

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:

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.

@twinssbc
Copy link
Owner

@rosalia98 Which version are you using? This method is only exposed starting from version 0.6.8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants