Gets or sets the type of the current view of the calendar.
Namespace: MindFusion.Scheduling
Assembly: Calendar.js
SyntaxJavaScript
Copy Code
|
|---|
get currentView() {} |
One of the CalendarView enumeration members. The type of the current view.
ExampleThe following code initializes a new Calendar and sets its view to CalendarView.List. Note: the code assumes you have initialized a <div> element with id "calendar" in a web page that references the JavaScript file with this code.
JavaScript
Copy Code
|
|---|
var p = MindFusion.Scheduling; // create a new instance of the calendar |
See Also