Search completed in 1.01 seconds.
11 results for "orientationchange":
Screen.onorientationchange - Web APIs
an event handler for the
orientationchange events sent to the screen object.
... syntax screen.on
orientationchange = funcref; where funcref is a reference to a function.
... specifications specification status comment screen orientation apithe definition of 'on
orientationchange' in that specification.
Window: orientationchange event - Web APIs
the
orientationchange event is fired when the orientation of the device has changed.
... bubbles no cancelable no interface event event handler on
orientationchange example you can use the
orientationchange event in an addeventlistener method: window.addeventlistener("
orientationchange", function(event) { console.log("the orientation of the device is now " + event.target.screen.orientation.angle); }); or use the on
orientationchange event handler property: window.on
orientationchange = function(event) { console.log("the orientation of the device is now " + event.target.screen.orientation.angle); }; specifications specification status compatibility standardthe definition of '
orientationchange' in that specification.
Testing media queries programmatically - CSS: Cascading Style Sheets
function handle
orientationchange(mql) { // ...
...handle
orientationchange(mediaquerylist); // add the callback function as a listener to the query list.
... mediaquerylist.addlistener(handle
orientationchange); this code creates the orientation-testing media query list, then adds an event listener to it.
...And 2 more matches
Managing screen orientation - Web APIs
listening orientation change the
orientationchange event is triggered each time the device change the orientation of the screen and the orientation itself can be read with the screen.orientation property.
... screen.addeventlistener("
orientationchange", function () { console.log("the orientation of the screen is: " + screen.orientation); }); preventing orientation change any web application can lock the screen to suits its own needs.
...if application a is locked to landscape and application b is locked to portrait, switching from application a to b or b to a will not fire an
orientationchange event because both applications will keep the orientation they had.
... however, locking the orientation can fire an
orientationchange event if the orientation had to be changed to satisfy the lock requirements.
Index - Web APIs
3859 screen.on
orientationchange api, cssom view, deprecated, event handler, property, screen orientation an event handler for the
orientationchange events sent to the screen object.
... 5049 window:
orientationchange event api, event, reference, sensors, window, on
orientationchange the
orientationchange event is fired when the orientation of the device has changed.
Window - Web APIs
orientationchange fired when the orientation of the device has changed.
... also available via the on
orientationchange property.
Event reference
popuphidden popuphiding popupshowing popupshown tab events visibilitychange battery events chargingchange chargingtimechange dischargingtimechange levelchange call events alerting busy callschanged cfstatechange connecting dialing disconnected disconnecting error held, holding incoming resuming statechange voicechange sensor events compassneedscalibration devicemotion deviceorientation
orientationchange smartcard events icccardlockerror iccinfochange smartcard-insert smartcard-remove stkcommand stksessionend cardstatechange sms and ussd events delivered received sent ussdreceived frame events mozbrowserclose mozbrowsercontextmenu mozbrowsererror mozbrowsericonchange mozbrowserlocationchange mozbrowserloadend mozbrowserloadstart mozbrowseropenwindow mozbrowsersecuritychange mozbrowsershowmo...
...
orientationchange event screen orientation the orientation of the device (portrait/landscape) has changed.
Screen - Web APIs
events handler screen.on
orientationchange a handler for the
orientationchange event.
Browser detection using the user agent - HTTP
function(mq) { for (var i=0,len=mql.length|0; i<len; i=i+1|0) if (mql[i][0] === mq) mql.splice(i, 1); mq.removelistener(whenmediachanges); } : listentomediaquery; var
orientationchanged = false; addeventlistener("
orientationchange", function(){
orientationchanged = true; }, passive_listener_option); addeventlistener("resize", settimeout.bind(0,function(){ if (
orientationchanged && !mediaqueryupdated) for (var i=0,len=mql.length|0; i<len; i=i+1|0) mql[i][1]( mql[i][0] ); mediaqueryupdated =
orientationchanged = false; },0)); which part of the us...