pagecontainerremove event not fire

pagecontainerremove event not fire

I am using jqMobile 1.4.3 and want to register a page remove event on pagecontainer but not success

Code i write:

$( ":mobile-pagecontainer" ).on( "pagecontainerremove", function ( event, ui ) {

      //DO something

});

Finally i listen on "pageremove" event for Page Widget instead of  pagecontainer. It's success! But this is a deprecated event.

I check with jqMobile source code and didn't find any trigger point for  pagecontainerremove event.



Here is trace for page changing flow. After calling $(":mobile-pagecontainer").pagecontainer( "change", "login.html", {transition:"none"});


1.[pagecontainer widget] Event:pagecontainerbeforechange  [video>login.html] 

2.[pagecontainer widget] Event:pagecontainerbeforeload  [video>login.html] 

3.[pagecontainer widget] Event:pagecontainerload  [nil>nil] 

4.[page widget]  Event:beforecreate  page[login] 

5.[page widget]  Event:create  page[login] 

6.[pagecontainer widget] Event:pagecontainerbeforechange  [video>login] 

7.[pagecontainer widget] Event:pagecontainerbeforeshow  [video>login] 

8.[page widget]  Event:remove page[video] 

9.[pagecontainer widget] Event:pagecontainershow  [video>login] 

10.[pagecontainer widget] Event:pagecontainerchange  [video>login] 


Why

1. "pagecontainerload"  callback para  "ui.toPage" and "ui.prevPage" is undefined. But the doc said it has?

2. "pagecontainerbeforechange" event trigger twice (Step1 and Step6)?

3. "pagecontainercreate" and "pagecontainerremove" not trigger in the flow?


Please help