The user goes back to the previous month by clicking the left arrow button.
The user clicks one of the events in the calendar, which now displays the events in the previous month.
$scope.alertDayOnClick is run
At this point of time, the calendar still displays events in the previous month.
Is it possible to have the calendar go back to the current month, without pressing the arrow?
You can use
uiCalendarConfig.calendars[calendar].fullCalendar('gotoDate',date);calendar being your calendar and date the Date object you want to display
Let me illustrate the situation.
At this point of time, the calendar still displays events in the previous month. Is it possible to have the calendar go back to the current month, without pressing the arrow?
Any advice will be appreciated!