Detecting Orientation in Javascript # ; let portrait = window.matchMedia("(orientation: portrait)"); ; if(e.matches) { ; // Portrait mode ; } else { ...
確定! 回上一頁