开发者

Hiding and showing FullCalendar without it resetting/re-rendering

开发者 https://www.devze.com 2022-12-07 22:21 出处:网络
I am using https://fullcalendar.io/ This is in a Vue application; whenever the Calendar\'s date nav is used to go forward or back a month, it is hidden. A loading spinner is then shown; once the AJAX

I am using https://fullcalendar.io/

This is in a Vue application; whenever the Calendar's date nav is used to go forward or back a month, it is hidden. A loading spinner is then shown; once the AJAX request is complete and the Calendar is shown again, the whole Calendar resets to its starting state. Anything loaded via AJAX is lost, and the view of the Calendar resets Today - which is its default state.

Is anyone aware of a way to keep its state from changing wh开发者_JAVA百科en it's hidden?

It is almost as if the Calendar is configured to reset itself if it is ever not visible.

Thanks.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号