<mwl-calendar-week-view
[viewDate]="viewDate"
[refresh]="refresh"
(click)="weekDayClick($event)">
</mwl-calendar-week-view>
在组件文件中
weekDayClick($event){
console.log("I need the clicked date of week view. How can I achieve this");
}
示例:- 如果我点击 16th May,那么我需要触发一个事件,给我 2018 年 5 月 16 日。
同样,5 月 17 日应该是 2018 年 5 月 17 日。
对于 5 月 18 日,应该是 2018 年 5 月 18 日,以此类推。
欢迎任何建议
感谢您宝贵的时间!