Created on 22 November 2017
icon_unfollowing
Login to follow
orientation-event

Orientation Event

Stable version 1.1.0 (Compatible with OutSystems 11)
Other versions available for 10
Uploaded on 03 January 2020 by 
orientation-event

Orientation Event

Details
Raises an Event when the device changes orientation. In the handler for that event you get the new orientation: portrait or landscape.
Read more

This component, when used in a Screen raises an event when the device changes orientation.

Usage:

  • Insert the OrientationEvent Block in your Screen (or in the Layout Block that is used by your Screens)
  • Add a Client Action with an input parameter of type text
  • Add that Client Action as Handler of the OrientationEvent Event and set the input parameter to be the Variable of the Event

When the device changes orientation the event will be raised, your client action will be called and you will get in the input parameter of your client action the new orientation: 'landscape' or 'portrait'.

It was tested in Android and iOS.

Release notes (1.1.0)

Upgrade to v11.

Reviews (0)
Category
Device capabilities, Other device capabilities
Tags
Support options
This asset is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from  who created this asset.
Dependencies
See all 1 dependencies
Application Objects
Orientation Event has 0 AOs.
Team
Compatible with
Version 11
11.9.2 or higher
11.7.6 to 11.9.0
11.0.606 to 11.0.615
Database:
All
Asset consumers
No consumers yet.
Weekly downloads