src/aria/utils/Orientation.js
function () {
            this.screenOrientation = Aria.$window.orientation;
            this.isPortrait = this.__isPortrait();
            // raise event "change" to notify about orientation change along with properties for current orientation
            this.$raiseEvent({
                name : "change",
                screenOrientation : this.screenOrientation,
                isPortrait : this.isPortrait
            });
        }
function () {
            this.screenOrientation = Aria.$window.orientation;
            this.isPortrait = this.__isPortrait();
            // raise event "change" to notify about orientation change along with properties for current orientation
            this.$raiseEvent({
                name : "change",
                screenOrientation : this.screenOrientation,
                isPortrait : this.isPortrait
            });
        }
function ( ) { this . screenOrientation = Aria . $window . orientation ; this . isPortrait = this . __isPortrait ( ) ; // raise event "change" to notify about orientation change along with properties for current orientation this . $raiseEvent ( { name : "change" , screenOrientation : this . screenOrientation , isPortrait : this . isPortrait } ) ; }
Callback executed after orientation of the device is changed. This raises a wrapper event for the native
event orientationchange and provides properties screenOrientation which is exact value of window.orientation
and additional variable isPortrait to tell if device orientation is portrait
@protected
Callback executed after orientation of the device is changed . This raises a wrapper event for the native event orientationchange and provides properties screenOrientation which is exact value of window . orientation and additional variable isPortrait to tell if device orientation is portrait