angular-ui / ui-calendar

A complete AngularJS directive for the Arshaw FullCalendar.
http://angular-ui.github.io/ui-calendar/
MIT License
1.49k stars 729 forks source link

jsEvent in eventDrop #406

Closed arrabal closed 8 years ago

arrabal commented 8 years ago

I need to get some information about the drop event, but when I examine jsEvent parameter in eventDrop event, it contains the boolean value false

...
eventDrop: $scope.alertOnDrop,
...
$scope.alertOnDrop = function(event, delta, revertFunc, jsEvent, ui, view){
     console.info('jsEvent: ', jsEvent);    
};

In other events, such as eventClick or eventMouseover, jsEvent is not a boolean, but it is an object with many fields. Is this situation normal?

martin-langhoff commented 8 years ago

use the drop events from FullCalendar :-)