标签:android style blog io ar color sp for on
Firefox for Android does not support the orientationchange event but you can achieve the same result by using media query listeners.
var mqOrientation = window.matchMedia("(orientation: portrait)"); // The Listener will fire whenever this either matches or ceases to match mqOrientation.addListener(function() { self.handleViewportChange(); });
Firefox mobile (android) and orientationchange
标签:android style blog io ar color sp for on
原文地址:http://www.cnblogs.com/hejia/p/4129024.html