I use the directive AngularJSfor Arshaw FullCalendar. The problem is that classNamein is $scope.eventSourcenot displayed on event object, my code is:
$scope.eventSource = {
url: "/unavailability/getCalData?userId=" + CurrentUser.user().id,
className: 'performer-unavailability',
currentTimezone: 'America/Chicago'
};
But when I send classNamefrom the backend in an array of events, it works fine, classNameattaches to the event. I do not want to parse many arrays in the backend, to add className, please offer any solution.
source
share