Closed seanaye closed 2 months ago
There's no reactive way to read window.innerHeight and window.innerWidth as far as I can tell. It would be nice to add a method for these via window.addEventListener("resize" () => {})
window.innerHeight
window.innerWidth
window.addEventListener("resize" () => {})
Reference: https://vueuse.org/core/useWindowSize/
There's no reactive way to read
window.innerHeight
andwindow.innerWidth
as far as I can tell. It would be nice to add a method for these viawindow.addEventListener("resize" () => {})