JavaScript Events: orientationchange

By: Dusty Arlia
Published on Thursday, January 2, 2014, 10:05 PM
Last Updated on Tuesday, July 14, 2015 at 2:22 AM
Total Updates: 4

The JavaScript orientationchange event is fired on the window object when a device that can detect rotation, is rotated. This event can switch a device from portrait mode to landscape mode.