Type String Event orientation Revision Release 2024.3703 Keywords orientation, type See also orientation
A string identifying the new orientation of the device with one of the following values:
"portrait"
"landscapeLeft"
"portraitUpsideDown"
"landscapeRight"
"faceUp"
"faceDown"
The "faceUp"
and "faceDown"
orientations are only supported on iOS.
The orientation event is independent of the application's user interface. As an example, if the app is