eventPositioned
Triggered after an event has been placed on the calendar in its final position.
function( info ) { }
info
is a plain object that contains the following properties:
event |
The associated Event Object. |
---|---|
el |
The HTML element that has just been rendered. |
isMirror |
|
isStart |
|
isEnd |
|
view |
The current View Object. |
In a similar way to eventRender, when a single event has multiple elements, DOM manipulation is allowed on each element in the event. For example, if a timeGridWeek
event spans multiple columns, each event “segment” (individual span of time after slicing) is rendered with individual elements.
The eventPositioned
callback is triggered for each segment of the event. In other words, an event spanning two columns will trigger two callbacks, with three columns triggering three callbacks, and so forth.