Join Slack
Powered by
Is it possible to have a callback (or something eq...
# javascript
d
Daniele B
09/21/2020, 6:04 PM
Is it possible to have a callback (or something equivalent) in Kotlin/React to detect changes of the browser width? for example in case the browser window is resized
b
Big Chungus
09/21/2020, 6:31 PM
Copy code
kotlinx.browser.window.addEventListener("resize", yourCallback);
d
Daniele B
09/21/2020, 7:45 PM
great! thanks
4
Views
Open in Slack
Previous
Next