## CustomView

The sample demonstrates how to add custom views to events calendar.

In this demo the events calendar widget has some custom views shows two days/weeks/months/years of timeline.

Options used in the sample:

- views - Array of the view types which need to be shown. possible items in the array is "day", "week", "month", "list". If add a custom view, item should be an Object:

          Object syntax:
          name - String, the unique name of custom view which is displayed on the toolbar.
          unit - String, the time unit of custom view possible values are "day", "week", "month", "year".
          count - number, the count of time span, depends on the unit.

- viewType - The active view type. Possible values are: "day", "week", "month", "list". If it is a custom view, the viewType should be its name.