Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 532 Bytes

File metadata and controls

40 lines (34 loc) · 532 Bytes

defaultSet

You might have so many views, calendars, scenes. It could be annoyingly tiresome to describe all the values of each section. You can set your default values for each views, calendars and scenes.

defaultSet: {
  view:{},
  scene:{},
  calendar:{}
},

By Example,

defaultSet: {
  view: {
    slotCount: 4,
    dateFormat: "MM/DD",
  }
},

will be same with

views: [
  {
    ...
    slotCount: 4,
    dateFormat: "MM/DD",
  },
  {
    ...
    slotCount:4,
    dateFormat: "MM/DD",
  }
],