I'm integrating ng full-calendar into my project it shows below screen properly. Calendar view
Below is my .ts file code.
export class OfcalendarComponent implements OnInit {
calendarOptions: Options;
displayEvent: any;
@ViewChild(CalendarComponent) ucCalendar: CalendarComponent;
constructor() { }
ngOnInit() {
this.calendarOptions = {
editable: true,
eventLimit: false,
header: {
left: 'prev,next today',
center: 'title',
right: 'month'
},
selectable: true,
events: [
{
title : 'event1',
start : '2018-06-08',
rendering: 'background'
}
],
};
}
Now I want to add click event to select multiple dates and set event to those selected date but on fullcalendar documentation they have given all jquery methods. Does anyone help me how can i integrate in angular project in .ts file?