edit doc

View Object

A View object contains information about a calendar view, such as title and date range. This information about the current view is passed into nearly every handler.

Properties

type
Name of one of the available views (a string).
title
Title text that is displayed at the top of the headerToolbar (such as “September 2009” or “Sep 7 - 13 2009”).
activeStart
A Date that is the first visible day. In month view, this value is often before the 1st day of the month, because most months do not begin on the first day-of-week.
activeEnd
A Date that is the last visible day. Note: This value is exclusive. See how events are are parsed from a plain object for further details.
currentStart
A Date that is the start of the interval the view is trying to represent. For example, in month view, this will be the first of the month. This value disregards hidden days.
currentEnd
A Date that is the end of the interval the view is trying to represent. Note: This value is exclusive. See how events are are parsed from a plain object for further details. For example, in month view, this will be the day after the last day of the month. This value disregards hidden days.
calendar
The master Calendar Object this view belongs to.

These properties of the View object can only be read. A custom view with settings is the way to set any of them.