orientationchange event

orientationchange event

orientationchange eventversion added: 1.0

Description: Device portrait/landscape orientation event

  • jQuery( window ).on( "orientationchange", function( event ) { ... } )

    Additional properties on the event object:

    • orientation
      Type: String
      The new orientation of the device. Possible values are "portrait" and "landscape".
    登录查看完整内容