The active read-only property contains details about the active calendar view.
Declaration
DayPilot.Switcher.activePossible Values
control(DayPilot.CalendarorDayPilot.Month) - the calendar component reference
Notes
The returned object has a single member that holds a reference to the active calendar component:
control(DayPilot.CalendarorDayPilot.Month) - the calendar component reference
Example
const activeView = switcher.active;
const calendar = activeView.control;See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot