https://i.sstatic.net/Vx2x8.png HTML Templates
<mwl-calendar-week-view
[viewDate]="viewDate"
[refresh]="refresh"
(click)="weekDayClick($event)">
</mwl-calendar-week-view>
In the component file
weekDayClick($event){
console.log("I want to retrieve the date of the clicked week view. How can I do this");
}
For example, if I click on the 16th of May, I want to receive the date as 16 May 2018.
Similarly, for the 17th of May, I expect to receive 17 May 2018.
And for the 18th of May, I should receive 18 May 2018 and so on.
Any suggestions would be greatly appreciated.
Thank you for taking the time to read this!