Answers for "get width device js"

0

check device width using js

const screenWidth  = window.screen.width;
const screenHeight = window.screen.height;
Posted by: Guest on April-20-2021
0

java script find screen size of device

// Size of browser viewport.
$(window).height();
$(window).width();

// Size of HTML document (same as pageHeight/pageWidth in screenshot).
$(document).height();
$(document).width();
Posted by: Guest on February-27-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language