Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

28 lines (23 sloc) 748 Bytes
<div class='app'>
<div class='app-top'>
<button (click)='toggleVisible()'>toggle visible</button>
<button (click)='toggleWeekends()'>toggle weekends</button>
<button (click)='gotoPast()'>go to a date in the past</button>
(also, click a date/time to add an event)
</div>
<div class='app-calendar' *ngIf="calendarVisible">
<full-calendar
#calendar
defaultView="dayGridMonth"
[header]="{
left: 'prev,next today',
center: 'title',
right: 'dayGridMonth,timeGridWeek,timeGridDay,listWeek'
}"
[plugins]="calendarPlugins"
[weekends]="calendarWeekends"
[events]="calendarEvents"
(dateClick)="handleDateClick($event)"
></full-calendar>
</div>
</div>
You can’t perform that action at this time.