6 lines
127 B
JavaScript
6 lines
127 B
JavaScript
|
|
export const windowWidth = () =>
|
|
window.innerWidth ||
|
|
document.documentElement.clientWidth ||
|
|
document.body.clientWidth
|