document.addEventListener('DOMContentLoaded',function(){var calendarEl=document.getElementById('calendar');var calendar=new FullCalendar.Calendar(calendarEl,{plugins:['interaction','dayGrid','timeGrid','list'],height:'parent',header:{left:'prev,next today',center:'title',right:'dayGridMonth,timeGridWeek,timeGridDay,listWeek'},defaultView:'dayGridMonth',defaultDate:'2020-05-12',navLinks:true,editable:true,eventLimit:true,events:[{title:'All Day Event',start:'2020-05-01',color:'#9267FF'},{title:'Long Event',start:'2020-05-07',end:'2020-05-10',color:'#4BE69D'},{groupId:999,title:'Repeating Event',start:'2020-05-09T16:00:00',color:'#9267FF'},{groupId:999,title:'Repeating Event',start:'2020-05-16T16:00:00',color:'#F13D80'},{title:'Conference',start:'2020-05-11',end:'2020-05-13',color:'#9267FF'},{title:'Meeting',start:'2020-05-12T10:30:00',end:'2020-05-12T12:30:00',color:'#9267FF'},{title:'Lunch',start:'2020-05-12T12:00:00',color:'#B235DC'},{title:'Meeting',start:'2020-05-12T14:30:00',color:'#9267FF'},{title:'Happy Hour',start:'2020-05-12T17:30:00'},{title:'Dinner',start:'2020-05-12T20:00:00',color:'#9267FF'},{title:'Birthday Party',start:'2020-05-13T07:00:00',color:'#9267FF'}]});calendar.render();});