yandere_fe/src/services/window_utils/window_utils.js
2019-04-01 22:41:34 +03:00

6 lines
127 B
JavaScript

export const windowWidth = () =>
window.innerWidth ||
document.documentElement.clientWidth ||
document.body.clientWidth