Skip to content

Latest commit

 

History

History
56 lines (44 loc) · 1.9 KB

File metadata and controls

56 lines (44 loc) · 1.9 KB

You can use all of common fields of View in this view also.

View:daily

field value type value example default value memo
type String "row" "column" You can arrange event slots by row or column. This field will be ignored in other views. In bar or fullscreen region, "row" could look nicer.
slotSubTitleFormat String "" "MMMM Do" predefined extra information of slots of this daily view.
slotTitleFormat String Or Object "" {...} predefined slot title.
  • You can use calendar-type humanized format for slot Title in this daily view. (In other views, this will be meaningless). Default values are below;
slotTitleFormat: {
  sameDay: '[Today]',
  nextDay: '[Tomorrow]',
  nextWeek: 'dddd',
  lastDay: '[Yesterday]',
  lastWeek: '[Last] ddd',
  sameElse: 'ddd, M/D'
},

Examples

  • Basic Sample
{
  name: "VIEW1",
  mode: "daily",
  title: "My Schedule",
  position: "top_left",
},

view1

  • modification Sample.
{
  name: "VIEW1",
  mode: "daily",
  title: "My Schedule",
  position: "bottom_bar",
  type: "row",
  slotCount: 5,
  fromNow: -2,
  useEventTimeRelative: true,
},

view2