Orientation Event
Version 1.0.0
Published on 22 November 2017 by 
Created on 22 November 2017
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.

Reviews (0)
Category
UI & Widgets
Tags
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from José Costa who created this component.
Dependencies
See all 1 dependencies
Requirements
Platform
10.0.0.402
Database
All
Stack
All
Component Consumers
Orientation Event has no consumers.
Weekly Downloads 
Related Components
OutSystems UI Mobile
OutSystems R&D
Create amazing native mobile applications using this fully integrated UI framework for OutSystems, with dozens of UI patterns ready to use.
7355
Google Maps
Labs
Google Maps is a Google Maps Javascript V3 API component, providing Web Blocks and Actions to add interactive maps, markers and directions, along with event driven functionality.
10689
OutSystems UI Web
OutSystems R&D
Create amazing web responsive applications using this fully integrated UI framework for OutSystems, with dozens of UI patterns ready to use.
1273
More from José Costa
pdfJS Viewer
Eduardo Jauch
A PDF viewer based on the viewer provided by the PDF JS project (https://mozilla.github.io/pdf.js/). 
265
AppLauncherPlugin
Eduardo Jauch
Cordova Plugin to launch Mobile Applications. Initially based on https://github.com/nchutchind/cordova-plugin-app-launcher
157
Advanced Bulk Selection
Eduardo Jauch
A simple widget to do Bulk Selection on Check boxes with specified class. Can be used to do selective bulk selection (per column) in a Table Records.