Is there any way from which I can take the position of each schedule? I want to enter a pop over schedule on click.
tourlida opened this issue · comments
Vagia Tourlida commented
조정은 commented
In the schedule click event handler, you can get the schedule element and then position it with getBoundingClientRect()
.
const onClickSchedule = useCallback((e) => {
const { calendarId, id } = e.schedule;
const el = cal.current.calendarInst.getElement(id, calendarId);
console.log(e, el.getBoundingClientRect());
}, []);