OrientationChangeEvent Enum

Namespace: SharpKit.jQueryMobile

Base Types

System.Enum

Base Interfaces

System.IComparable
System.IFormattable
System.IConvertible

Fields

Name Description
orientationchange Triggers when a device orientation changes (by turning it vertically or horizontally). When bound to this event, your callback function can leverage a second argument, which contains an orientation property equal to either "portrait" or "landscape". These values are also added as classes to the HTML element, allowing you to leverage them in your CSS selectors. Note that we currently bind to the resize event when orientationChange is not natively supported.
© Copyright 2005-2011 SharpKit. All rights reserved.