Hi Team,
I need your help, please i need it fast.
i want to create an app that the apps detect landscape it will opens the panel and lock the panel, i tried to do this code:
code
$(window).bind('orientationchange', function(e) {
if (window.orientation < 0) // Portrait
{
alert("portrait");
Apperyio("MainMenuPanel").attr("data-dismissible",true);
} else // Landscape
{
alert("landscape");
Apperyio("MainMenuPanel").panel("open");
Apperyio("MainMenuPanel").attr("data-dismissible",'false');
}
});/code
Thank you,