Skip to content

Latest commit

 

History

History
52 lines (40 loc) · 2.6 KB

File metadata and controls

52 lines (40 loc) · 2.6 KB

You can use all of common fields of View in these views also.

View:current

field value type value example default value memo
slotTitle String "My current" "Current" In view:current and view:upcoming, there is no need of dynamic slot title. You can set fixed slot title with this field.
maxItems Integer 5 10 How many items shall be shown.
useEventTimeRelative Boolean false true Personally, I like relative format in current & upcoming view. You can modify it.

View:upcoming

field value type value example default value memo
slotTitle String "My current" "Current" In view:current and view:upcoming, there is no need of dynamic slot title. You can set fixed slot title with this field.
maxItems Integer 5 10 How many items shall be shown.
maxDays Integer 7 30 ...until this.
useEventTimeRelative Boolean false true Personally, I like relative format in current & upcoming view. You can modify it.

Examples

  • Basic Sample
{
  name: "VIEW1",
  mode: "current",
  position: "top_left",
  slotTitle: "MY CURRENT"
},

view5

  • modification Sample.
{
  name: "VIEW1",
  mode: "upcoming",
  position: "top_left",
  slotTitle: "Upcoming Events",
  maxItems: 5,
  maxDays: 7,
  slotMaxHeight: "180px",
  hideOverflow: true,
},

view6