Currently, I am utilizing the AngularJS
directive to integrate the Arshaw FullCalendar
. However, I am encountering an issue where the className
specified in $scope.eventSource
is not appearing on the event object
. Here is a snippet of my code:
$scope.eventSource = {
url: "/unavailability/getCalData?userId=" + CurrentUser.user().id,
className: 'performer-unavailability',
currentTimezone: 'America/Chicago'
};
Interestingly, when the backend sends the className
within the event array, it functions correctly and the className
gets attached to the event. I would prefer not having to manipulate the entire array in the backend just to add a className
. Any suggestions for a different approach would be greatly appreciated.