Event modal
If your events have more information than just their time and a short title, chances are it would be helpful to display information about the events in a modal.
Install
npm i @schedule-x/event-modal
Usage
import { createEventModalPlugin } from '@schedule-x/event-modal'
const eventModal = createEventModalPlugin()
const calendar = createCalendar({
// ...other configuration
plugins: [eventModal],
})
eventModal.close(); // close the modal
Methods
close
Close the modal programmatically.