From 870a0319a48578971338d01657f61adb492e3889 Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 28 Sep 2023 16:55:13 -0400 Subject: [PATCH] added a day view option --- resources/views/calendar/index.blade.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/resources/views/calendar/index.blade.php b/resources/views/calendar/index.blade.php index aea9e378..8b337212 100644 --- a/resources/views/calendar/index.blade.php +++ b/resources/views/calendar/index.blade.php @@ -17,6 +17,11 @@ const calendar = new FullCalendar.Calendar(calendarEl, { plugins: ['dayGrid'], + header: { + left: 'title', + center: '', + right: 'dayGridMonth,dayGridDay,prev,next' // user can switch between the two + }, events: { url: '/api/calendar', // extraParams: function() { // a function that returns an object