在渲染 View 时捕获的方法是什么?
不仅在切换 View 时,而且在单击今天/上一个/下一个时?
我需要在每次渲染完成之后(或之前)清除一组唯一的事件标题。
所以,类似于 eventAllRender
这是 removed开始 v4。
当前使用 .click
所有按钮的事件,这可以解决问题,但我希望有一些与实际渲染真正相关的东西。
calendar.render();
$('.fc-button').click( () => {
console.log("do something")
})
最佳答案
https://fullcalendar.io/docs/datesSet
Called after the calendar’s date range has been initially set or changed in some way and the DOM has been updated.
datesSet: function(info) {
// ...
}
关于fullCalendar (v5) 回调/处理程序随时呈现 View ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62782519/