mattlewis92 / angular-calendar

A flexible calendar component for angular 15.0+ that can display events on a month, week or day view.
https://mattlewis92.github.io/angular-calendar/
MIT License
2.72k stars 863 forks source link

Access the current day in month-view custom cell template #1562

Closed foodeveloperbar17 closed 2 years ago

foodeveloperbar17 commented 2 years ago

<mwl-calendar-month-view [viewDate]="viewDate" [events]="events" (dayClicked)="dayClicked($event)" [cellTemplate]="dayTemplate" [activeDayIsOpen]="activeDayIsOpen" (eventClicked)="eventClicked($event)"

<ng-template #dayTemplate> <div *ngFor="let event of events"> {{event.title}}

How can I access current day in dayTemplate?

matts-bot[bot] commented 2 years ago

This issue has been closed automatically as it did not follow the issue template, please open a new issue that follows the bug report or feature request template.

If you would like to submit a support issue or get a faster reply, please consider sponsoring me.

Thank you! ✌️