pablocattaneo
9/3/2018 - 10:12 AM

Execute eventHandler just once

Execute eventHandler just once

Source: https://stackoverflow.com/a/39276269/3599272

window.addEventListener('resize', console.log, {once: true})