Skip to content

Commit

Permalink
added a day view option
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Grimes committed Sep 28, 2023
1 parent 2417533 commit 870a031
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions resources/views/calendar/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 870a031

Please sign in to comment.