orientationchange eventversion added: 1.0
Description: Device portrait/landscape orientation event
-
jQuery( window ).on( "orientationchange", function( event ) { ... } )
Additional properties on the event object:
- orientationType: StringThe new orientation of the device. Possible values are
"portrait"
and"landscape"
.
-