logo

/repo|v1.12.8

Typedef

CalendarProps:

object

calendar.jsline 513

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

dragBgColor

string

The background color when schedule dragging

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