Hi,
Do the calendar components provide the listener for the beginning when dragging, the name like beforeDragCreateStart( compare to beforeDragCreateEnd), since i want to set the an eventColor for new event data.
Thank you!
Jeff
There are events on the Feature: https://www.bryntum.com/docs/calendar/api/Calendar/feature/CalendarDrag#events
It does seem like the documentation doesn't mention them all though. Note that several have "ON OWNER", so they fire through the Calendar
I see
beforedragstart
dragstart
drag
(repeated as the drag goes on)
drop
Being emitted from the feature whenever I drag in the Calendar.
Try
features : {
drag : {
listeners : {
beforedragstart : 'up.handleBeforeDragStart' // up. means resolve the method in a parent widget
}
}
}
...
handleBeforeDragStart(evt){...}
````