javascript - What event is fired by Safari when the bottom sidebar disappears? -


in safari (ios7, ios8) bottom bar present @ loading off page.

once scroll down, disappear, switching viewport greater height.

is there event fired browser can catch , use execute code (to take advantage of greater space created) ?

you can use the resize event :

window.addeventlistener('resize', function(){ ... 

note works on other browsers , other devices every time top or bottom bar appears or disappears.


Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -