diff --git a/entries/pagebeforehide.xml b/entries/pagebeforehide.xml index d2002316..88a30c5b 100644 --- a/entries/pagebeforehide.xml +++ b/entries/pagebeforehide.xml @@ -1,18 +1,9 @@ - + pagebeforehide Triggered on the "fromPage" we are transitioning away from, before the actual transition animation is kicked off. -

Callbacks for this event will receive a data object as their 2nd arg. This data object has the following properties on it:

-
    -
  • nextPage (object) -
      -
    • A jQuery collection object that contains the page DOM element that we are transitioning to.
    • -
    -
  • -
-

Note that this event will not be dispatched during the transition of the first page at application startup since there is no previously active page.

- +
1.0 diff --git a/entries/pagebeforeload.xml b/entries/pagebeforeload.xml index ea42afa9..edc8f498 100644 --- a/entries/pagebeforeload.xml +++ b/entries/pagebeforeload.xml @@ -1,10 +1,9 @@ - + pagebeforeload Triggered before any load request is made. - Note: The triggering of this event is deprecated as of jQuery Mobile 1.4.0. It will no longer be triggered in 1.5.0. -

The replacement for is pagecontainerbeforeload. In jQuery Mobile 1.4.0, the two events are identical except for their name.

+
1.0 diff --git a/entries/pagebeforeshow.xml b/entries/pagebeforeshow.xml index fe657909..0e5992c4 100644 --- a/entries/pagebeforeshow.xml +++ b/entries/pagebeforeshow.xml @@ -1,16 +1,9 @@ - + pagebeforeshow Triggered on the "toPage" we are transitioning to, before the actual transition animation is kicked off. -

Callbacks for this event will receive a data object as their 2nd arg. This data object has the following properties on it:

-
    -
  • prevPage (object) -
      -
    • A jQuery collection object that contains the page DOM element that we are transitioning away from. Note that this collection is empty when the first page is transitioned in during application startup.
    • -
    -
  • -
+
1.0 diff --git a/entries/pagechangefailed.xml b/entries/pagechangefailed.xml index e6e7ec24..a379df8e 100644 --- a/entries/pagechangefailed.xml +++ b/entries/pagechangefailed.xml @@ -1,10 +1,9 @@ - + pagechangefailed Triggered when the changePage() request fails to load the page. - Note: The triggering of this event is deprecated as of jQuery Mobile 1.4.0. It will no longer be triggered in 1.5.0. -

The replacement for is pagecontainerchangefailed. In jQuery Mobile 1.4.0, the two events are identical except for their name.

+
1.0 diff --git a/entries/pagecontainer.xml b/entries/pagecontainer.xml index c1c4486b..7698828f 100644 --- a/entries/pagecontainer.xml +++ b/entries/pagecontainer.xml @@ -82,6 +82,16 @@ + + Triggered before the actual transition animation is kicked off. + + + + A jQuery collection object that contains the destination page DOM element. + + + + Triggered before any load request is made.

Callbacks bound to this event can call preventDefault() on the event to indicate that they are handling the load request. Callbacks that do this MUST make sure they call resolve() or reject() on the deferred object reference contained in the object passed to the callback via its ui parameter.

@@ -145,6 +155,16 @@ $( document ).on( "pagecontainerbeforeload", function( event, data ) {
+ + Triggered before the actual transition animation is kicked off. + + + + A jQuery collection object that contains the source page DOM element. + + + + Triggered before the transition between two pages starts. diff --git a/entries/pagehide.xml b/entries/pagehide.xml index c7c4ed75..8fcb4634 100644 --- a/entries/pagehide.xml +++ b/entries/pagehide.xml @@ -1,10 +1,9 @@ - + pagehide Triggered on the "fromPage" after the transition animation has completed. - Note: The triggering of this event is deprecated as of jQuery Mobile 1.4.0. It will no longer be triggered in 1.5.0. -

The replacement for is pagecontainerhide. In jQuery Mobile 1.4.0, the two events are identical except for their name.

+
1.0 diff --git a/entries/pageload.xml b/entries/pageload.xml index 3d610726..1a605ff1 100644 --- a/entries/pageload.xml +++ b/entries/pageload.xml @@ -1,10 +1,9 @@ - + pageload Triggered after the page is successfully loaded and inserted into the DOM. - Note: The triggering of this event is deprecated as of jQuery Mobile 1.4.0. It will no longer be triggered in 1.5.0. -

The replacement for is pagecontainerload. In jQuery Mobile 1.4.0, the two events are identical except for their name.

+
1.0 diff --git a/entries/pageloadfailed.xml b/entries/pageloadfailed.xml index 85bfc607..8c45ada3 100644 --- a/entries/pageloadfailed.xml +++ b/entries/pageloadfailed.xml @@ -1,10 +1,9 @@ - + pageloadfailed Triggered if the page load request failed. - Note: The triggering of this event is deprecated as of jQuery Mobile 1.4.0. It will no longer be triggered in 1.5.0. -

The replacement for is pagecontainerloadfailed. In jQuery Mobile 1.4.0, the two events are identical except for their name.

+
1.0 diff --git a/entries/pageshow.xml b/entries/pageshow.xml index 173d4f03..0e7673fb 100644 --- a/entries/pageshow.xml +++ b/entries/pageshow.xml @@ -1,10 +1,9 @@ - + pageshow Triggered on the "toPage" after the transition animation has completed. - Note: The triggering of this event is deprecated as of jQuery Mobile 1.4.0. It will no longer be triggered in 1.5.0. -

The replacement for is pagecontainershow. In jQuery Mobile 1.4.0, the two events are identical except for their name.

+
1.0 diff --git a/includes/pageevent-deprecation.xml b/includes/pageevent-deprecation.xml new file mode 100644 index 00000000..d9652c32 --- /dev/null +++ b/includes/pageevent-deprecation.xml @@ -0,0 +1,5 @@ + +
+ Note: The triggering of this event is deprecated as of jQuery Mobile 1.4.0. It will no longer be triggered in 1.5.0. +

The replacement for is the pagecontainer widget's event. In jQuery Mobile 1.4.0, the two events are identical except for their name and the fact that is triggered on the pagecontainer, whereas is triggered on the page.

+