jquery-archive / jquery-mobile

jQuery Mobile Framework
https://jquerymobile.com
Other
9.68k stars 2.4k forks source link

Add onaftershow & onbeforehide events to ToolBar widget #8585

Open deblocker opened 7 years ago

deblocker commented 7 years ago

The full-screen Toolbar widget will hide or show when data-tap-toggle is enabled, but there isn't any notification event for that.

Raising events show() after Toolbar has been shown and hide() before Toolbar will be hidden can help to reposition other page elements which can profit from the full-page layout.

This will be especially useful for mobile devices (less screen space available).