Created
September 28, 2019 08:50
-
-
Save belocer/88fe009bbdebc0f9ab062417de910a0f to your computer and use it in GitHub Desktop.
Получить ширину
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let wi = window.innerWidth | |
|| document.documentElement.clientWidth | |
|| document.body.clientWidth |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment