How can I hook into a browser window resize event?
There\'s a jQuery way of listening for resize events but I would prefer not to bring it into my project for just t
You can use following approach which is ok for small projects
function yourHandler(e) { console.log('Resized:', e.target.innerWidth) }
Content... (resize browser to see)