Answers for "check if there is page has scrollbar x js"

0

check if there is page has scrollbar x js

if (document.documentElement.scrollWidth > window.innerWidth) {
	// code
}
Posted by: Guest on June-23-2021

Code answers related to "check if there is page has scrollbar x js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language