Returns true if the application is in portrait or upright position.
Quick example
if (mui.isPortrait()) {
Console.log('is portrait!');
} else {
Console.log('is landscape!');
}
Returns true if the application is in portrait or upright position.
if (mui.isPortrait()) {
Console.log('is portrait!');
} else {
Console.log('is landscape!');
}