backbone-jquerymobile icon indicating copy to clipboard operation
backbone-jquerymobile copied to clipboard

jquery-mobile 1.4 pagehide event Deprecated

Open 9kl opened this issue 9 years ago • 0 comments

$('div[data-role="page"]').live('pagehide', function (event, ui) { $(event.currentTarget).remove(); });

the triggering of this event is deprecated as of jQuery Mobile 1.4.0. It will no longer be triggered in 1.6.0. The replacement for pagehide is the pagecontainer widget's pagecontainerhide event. In jQuery Mobile 1.4.0, the two events are identical except for their name and the fact that pagecontainerhide is triggered on the pagecontainer, whereas pagehide is triggered on the page.

9kl avatar Nov 09 '15 15:11 9kl