logo

FullCalendar

This version is in beta. Read the release notes
requires Scheduler lightning bolt

resources (as an array)

Tells the calendar to display resources from an array input.

var calendar = new Calendar(calendarEl, {
  resources: [
    {
      id: 'a',
      title: 'Room A'
    },
    {
      id: 'b',
      title: 'Room B'
    }
  ]
});

The id property is the most important because it allows associating events with resources. See Resource parsing spec for a full list of fields.