Docs
Calendar
Plugins
Event Modal

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.

Last updated on

We use cookies for marketing purposes. By clicking "Accept", you consent to the use of all cookies. If you decline, we will only use functional cookies. You can read more about our cookie policy here.