The onSelect events is fired by the switcher when the current calendar view is changed.
Declaration
DayPilot.Switcher.onSelect(args);
Parameters
- args.source (HTMLElement) - the trigger that was used to change the view (e.g. a button)
- args.target (DayPilot.Calendar or DayPilot.Month) - the target view calendar component