ui-calendar
ui-calendar copied to clipboard
Need to retrieve object dropped on UI calendar
I am not able to get handle on the DOM element for the dropped element on the UI calendar. Saw other threads, tickets without closure.
Could someone help please...
Thanks Sandeep
can you please create a reproducible scenario with plunker?
Sure, though my question is exactly same as that on #87
How do I get the DOM element, since fullcalendar suggests 'this' to get the dropped DOM element
https://github.com/angular-ui/ui-calendar/issues/107#issuecomment-42877148
Thanks Sandeep
I have used ui.helper.context with success.
$scope.uiConfig = {
calendar: {
drop: function (date, allDay, jsEvent, ui) {
console.log(ui.helper.context)
}
}
}