Fullcalendar is not getting loaded on the first load. After a refresh store? it is working fine
I have included below library in the same order.
jquery.min.js - v3.3.1
moment.min.js
fullcalendar.min.js - 3.9.0
fullcalendar.min.css - 3.9.0
One more thing to notice in full calendar behavior, the calendar gets loaded first time but if we go to different tab and come back to the same tab - it does not get loaded until refreshing the window.
Related
I am new in AngularJS and studying about routing. As i have created a demo application and it is working fine but the issue is whenever i click on the anchor tag it loads the required document 'x.html', once loaded in the ngView next time same content is shown but it should show new content as 'x.html' is dynamic page which shows the date Time from server.
There is no more hits to the server. How can i make changes to the app.config so that it shows new content every time. Is it against the SPA as it will take more time to load the things again.
I think, it might not be an issue with router or angular. Can you pls post the code you are writing to display dynamic time and date?
I have been working on bringing some Ionic 2 applications, that were written by another developer during the early Ionic 2 Alpha, up to date with the most recent beta release.
I've run into an issue with 2.0.0-alpha.57, which requires removal of web-animations.js from webpack.config.js. Since removing this file, clicking an element on my app's main page no longer navigates to a new page. I can see in the Chrome device debugger that the click is registered, and the app's state is changed, but there is no change visible to the user. Additionally, once an element has been clicked, the page becomes unresponsive.
I'll attach a picture of the state of the app after clicking on the first list element (Taxi). Ideally, the click would result in the user being navigated to a new page. The two errors at the bottom of the JS console appear once an element has been clicked.
As far as I can tell the following code is executed when an element is clicked:
public GotoDetails(event, expenseType) {
this._nav.push(AddExpensePage, { "ExpenseType": expenseType });
}
Is anyone aware of a known issue regarding this file and routing?
Thanks,
Matt
I have an ionic App which was working fine but now It is showing little weird behaviour, When I run the app it does not show the data at first but when I click on side menu once or twice then it loads and shows the data. I have an nodejs api from which the data comes to my app and the same api has been put in aws api gateway, I noticed this behaviour since I implemented aws sdk for binding data in my APP.
What can be the root cause for the same?
I can share the code but I am not sure where the issue is whether in controllers or views?
I solved it using Ionic Loader as the reponse was taking long time. My side menu was not getting initialized with the same time as other views hence views were not rendering without sidemenu being rendered, The idea is to show a loader on every response and hide it when it's a success, so it will render the views successfully.
Hope it helps.
I have used AngularJS in a section of my site (for 2 pages, using routes). When I navigate to one of these pages from a non-Angular page, I just get an empty container in which nothing loads. If now I try to navigate to the other Angular-based page, I have the same problem - nothing loads. I get no Angular errors in the console, no nothing.
However, if I refresh the page, the content will load and then everything will work!
I have made a screen recording of this issue: http://screencast.com/t/y72wrr8iO
How can I fix this?
I had this issue also. I found out that it was caused by a chrome extension (AngularJS Batarang), so removing/disabling the extension helped.
If it works after refreshing it means that it is something with loading order in your site. Check if you have correct order of loading, like:
vendor lbirariers -> your libraries -> (...) -> your controller
also check your dependency injection headers in js files, cause you might skipped something
I have silverlight navigation pages (with NavigationCacheMode="Required").
When i normally navigate to these pages (via mouse clicks) the pages get loaded as expected (they are only created once due to the cache attribute).
However, I have a need to update the url in the browser address bar.
When I update this via javascript ("window.location.hash=#...") the address and page gets displayed, BUT the page gets re-created - which is causing other issues.
In particular the issue that this is causing is that the page has a Prism.regions defined in the xaml. So it throws an error complaining about a region that has already been registered.
Has anyone tried something similar to this?
I dont think there is a way to update the url in the address bar without the browser navigating to it. Note that the url that im trying to update to includes query string paramters, which is not directly "known" by the silverlight navigation framework.
The last resort that i havent tried is to register all the unique Urls with the navigation framework.
I found an hack. simply cancel the frame_navigating event when ever the url is being updated manually. works great.