GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing www.developer.amazon.com — Handle Device Orientation (Fire Tablets) | Fire Tablets
Handle Device Orientation (Fire Tablets)Device orientation data is available to your app through JavaScript on devices that support the Detect Whether Device Orientation is SupportedTo detect whether device orientation is supported, check to see whether the Handle Device Orientation EventsThe handler function receives device orientation event data, which consists of the following properties:
An example handler function is shown here: In the DeviceOrientation sample, numerical device orientation information is displayed above a bubble level that shows a visual representation of the same data. To display this data, a variable called Note that the normalization performed in the example is a simple transform, not a full polar normalization. Once the data is normalized, the displayed numerical values are updated, and the position of the bubble in the bubble level is also updated. Last updated: Oct 29, 2020 Supported devices |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |