how to get event attributes in the template ?
Please see the readme for how to create a custom template for any component: https://github.com/mattlewis92/angular-calendar#how-do-i-use-a-custom-template
As addicional info this are properties to set a event-template to day and week view:
for example:
<mwl-calendar-week-view
...
[eventTemplate]="templatePlan"
>
</mwl-calendar-week-view>
<mwl-calendar-day-view
...
[eventTemplate]="templatePlan"
>
</mwl-calendar-day-view>
<ng-template #templatePlan let-weekEvent="weekEvent">
<div (click)="debugConsole(weekEvent)">
Evento es: {{weekEvent ? weekEvent.title : null}}
</div>
</ng-template>
this is valid to week component view and day component view
Most helpful comment
for example:
this is valid to week component view and day component view