device.isPortrait

isPortrait() → {boolean}

return true if the device screen orientation is in Portrait mode

Parameters:
Type Description
Returns:
Type Description
boolean
Powered by webdoc!