DeviceOrientation
Inherits: Enum
Supported physical orientations for mobile devices.
Properties
-
LANDSCAPE_LEFT–Device rotated 90° counter-clockwise (home button or primary edge on the right).
-
LANDSCAPE_RIGHT–Device rotated 90° clockwise (home button or primary edge on the left).
-
PORTRAIT_DOWN–Device held upside-down in portrait mode.
-
PORTRAIT_UP–Device held upright in portrait mode.
Properties#
LANDSCAPE_LEFT = 'landscapeLeft'
#
Device rotated 90° counter-clockwise (home button or primary edge on the right).
LANDSCAPE_RIGHT = 'landscapeRight'
#
Device rotated 90° clockwise (home button or primary edge on the left).
PORTRAIT_DOWN = 'portraitDown'
#
Device held upside-down in portrait mode.
PORTRAIT_UP = 'portraitUp'
#
Device held upright in portrait mode.