onOrientationChange

Description

Fires when the orientation of a device changes. The 'orientation' parameter is either 'portrait' or 'landscape'.

Parameters 

orientation