forked from AkkomaGang/akkoma-fe
11 lines
258 B
JavaScript
11 lines
258 B
JavaScript
|
|
export const windowWidth = () =>
|
|
window.innerWidth ||
|
|
document.documentElement.clientWidth ||
|
|
document.body.clientWidth
|
|
|
|
export const windowHeight = () =>
|
|
window.innerHeight ||
|
|
document.documentElement.clientHeight ||
|
|
document.body.clientHeight
|