logo

/repo|v1.11.0

Typedef

CalendarPropscalendar.jsline 495

PROPERTIES
NameTypeDescription

id

stringnumber

The calendar id

name

string

The calendar name

color

string

The text color when schedule is displayed

bgColor

string

The background color schedule is displayed

borderColor

string

The color of left border or bullet point when schedule is displayed

EXAMPLES
var cal = new Calendar('#calendar', {
  ...
  calendars: [
    {
      id: '1',
      name: 'My Calendar',
      color: '#ffffff',
      bgColor: '#9e5fff',
      dragBgColor: '#9e5fff',
      borderColor: '#9e5fff'
    },
    {
      id: '2',
      name: 'Company',
      color: '#00a9ff',
      bgColor: '#00a9ff',
      dragBgColor: '#00a9ff',
      borderColor: '#00a9ff'
    },
  ]
});
Resizable