Add hover text for titles in calendar view

Closes: #41
This commit is contained in:
Edward Betts 2023-11-01 15:25:46 +00:00
parent 91d70b94f5
commit e076578366

View file

@ -36,12 +36,17 @@
center: 'title', center: 'title',
right: 'dayGridMonth,timeGridWeek,timeGridDay,listWeek' right: 'dayGridMonth,timeGridWeek,timeGridDay,listWeek'
}, },
nowIndicator: true,
weekNumbers: true,
eventTimeFormat: { eventTimeFormat: {
hour: '2-digit', hour: '2-digit',
minute: '2-digit', minute: '2-digit',
hour12: false, hour12: false,
}, },
events: {{ fullcalendar_events | tojson(indent=2) }} events: {{ fullcalendar_events | tojson(indent=2) }},
eventDidMount: function(info) {
info.el.title = info.event.title;
},
}) })
calendar.render() calendar.render()
}) })