showing results for - "how to execute javascript cde on window rotate"
Claudio
13 Aug 2016
1window.addEventListener("orientationchange", function(event) {
2  console.log("the orientation of the device is now " + event.target.screen.orientation.angle);
3});
4