I'm looking to use code to add in the mobile breakpoint into my URLs instead of doing it through my web server. Is this an option?
Joe,
In your code just use this:
window.jimuConfig.breakPoints[0] = 410;
Just to confirm that would provide the same results as the following:
https://domanin.com/testingApp/?mobileBreakPoint=10
Correct
I have implemented the above solution but the layout only changes after the the window resizes. Is there anyway to update the layout immediately after changing the breakpoints?
James,
Get a reference to the ConfigManager.js and call the _onWindowResize method.
And the popup window can you modify your view from the mobile device?
thanks
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.