From 9d1be72c5230826228f23af9300458c9c525ce6d Mon Sep 17 00:00:00 2001 From: Gabriel Schulhof Date: Tue, 11 Feb 2014 13:39:55 +0200 Subject: [PATCH] Navigation: Move pagecreate event to page widget Fixes gh-244 --- entries/page.xml | 2 +- entries/pagecreate.xml | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/entries/page.xml b/entries/page.xml index 3b56b025..470c39b5 100644 --- a/entries/page.xml +++ b/entries/page.xml @@ -139,7 +139,7 @@ -

Triggered after a page has been created. jQuery Mobile will use this event to apply its enhancements to the page.

+

Triggered after a page has been created and enhancements to the page have been made.

diff --git a/entries/pagecreate.xml b/entries/pagecreate.xml index fbab8095..cde675ff 100644 --- a/entries/pagecreate.xml +++ b/entries/pagecreate.xml @@ -1,14 +1,9 @@ pagecreate - Triggered when the page has been created in the DOM (via ajax or other) but before all widgets have had an opportunity to enhance the contained markup. + Triggered when the page has been created in the DOM (via ajax or other) and after all widgets have had an opportunity to enhance the contained markup. -

This event is most useful for user's wishing to create their own custom widgets for child markup enhancement as the jQuery Mobile widgets do.

-
+

Note:This event is part of the page widget as of jQuery Mobile 1.4.0. Please consult the documentation for the page widget's implementation.

1.0