Team,
I have 2 buttons on which I call zoomIn and zoomOut methods respectively.
and I have a calendar preset as below
this.viewPreset = { // populate the calendar
base: 'dayAndWeek',
tickHeight: 20,
tickWidth: 16,
headers: [
{
unit: 'week',
dateFormat: 'MMM YYYY',
},
{
unit: 'day',
dateFormat: 'D',
},
{
unit: 'day',
dateFormat: 'd1',
},
],
};
However, when I click zoomIn the view enlarges but does not switches back to its original view on click of ZoomOut.
The timeline of the calendar keeps on increasing.
Any thoughts