简体   繁体   English

Angular UI日历渲染问题

[英]Angular UI calendar rendering issue

I have an issue with the rendering of the angular UI calendar. 我在角度UI日历的呈现方面遇到问题。 My app has several views that we use to navigate in between using routes. 我的应用程序具有多个视图,可用于在使用路线之间进行导航。 The main page has the angular calendar and when we load the main page the calendar loads fine. 主页上有角型日历,当我们加载主页时,日历可以很好地加载。 But when we navigate away from this page and comes back, the calendar failed to load and only the header part gets loaded with the title and the buttons. 但是,当我们离开此页面导航并返回时,日历加载失败,只有标题部分加载了标题和按钮。 If a button (eg- month) is clicked then the whole calendar loads up again. 如果单击按钮(例如,月份),则整个日历将再次加载。

Is this something to do with rendering? 这与渲染有关吗? any output is highly appreciated. 任何输出都受到高度赞赏。

 [1]: http://jsfiddle.net/fECuY/4/ "jsfiddle"

I have resolved this issue by using resizing the window where the calendar got rendered within a timeout function. 我通过使用调整超时功能中渲染日历的窗口的大小来解决了这个问题。

Still I want to know how this render method can be used to re- render this calendar again. 我仍然想知道如何使用此渲染方法再次重新渲染此日历。 (in angular context) (在角度范围内)

arshaw.com/fullcalendar/docs/display/render example is catered for jquery.. arshaw.com/fullcalendar/docs/display/render示例适用于jquery。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM