The viewType property (string) sets the view type of the JavaScript Calendar component.
"Day"
"Week"
"WorkWeek"
"Days"
"Resources"
DayPilot.Calendar.startDate
DayPilot.Calendar.days
DayPilot.Calendar.visibleStart()
DayPilot.Calendar.visibleEnd()
Calendar config:
{ viewType: "Week", // ... }