Window style attributes: Miscellaneous

Miscellaneous presentation style attributes for window elements.

Style attributes listed in this page are specific to a given front-end type or to a mobile platform. See also other pages about window style attributes.

allowedOrientations

Defines possible screen orientations on mobile device.

Values can be:
  • "all" (default): Any orientation is allowed.
  • "landscape": Landscape orientation (the display is wider than it is tall).
  • "portrait": Portrait orientation (the display is taller than it is wide).
  • "landscape_reverse": Landscape orientation in the opposite direction from normal landscape.
  • "portrait_reverse": Portrait orientation in the opposite direction from normal portrait.
  • "landscape_all": Normal and reverse landscape orientations are allowed.
  • "portrait_all": Normal and reverse portrait orientation are allowed.