Fullcalendar add event on click angular code example
Example: fullcalendar angular add events
calendarOptions = {
height: '100%',
fixedWeekCount: false,
defaultDate: moment().format('YYYY-MM-DD'),
allDaySlot: false,
displayEventTime: true,
editable: true,
eventLimit: true,
lazyFetching: false,
nowIndicator: true,
refetchResourcesOnNavigate: true,
events: [],
plugin: [dayGridPlugin, interactionPlugin],
dateClick: this.getAppointmentsForSpecificDate.bind(this),
};
etAppointmentsForSpecificDate(arg) {
console.log(args)
}