These docs are for an old release.
Info on upgrading to v5
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.