-
Notifications
You must be signed in to change notification settings - Fork 60
/
Copy pathpageinit.xml
21 lines (19 loc) · 915 Bytes
/
pageinit.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0"?>
<entry name="pageinit" type="event" return="">
<title>pageinit</title>
<desc>Triggered on the page being initialized, after initialization occurs. </desc>
<longdesc>
<p>We recommend binding to this event instead of DOM ready() because this will work regardless of whether the page is loaded directly or if the content is pulled into another page as part of the Ajax navigation system.</p>
<pre><code><![CDATA[
$( document ).on( "pageinit", "#aboutPage", function( event ) {
alert( "This page was just enhanced by jQuery Mobile!" );
});
]]></code></pre>
<div class="warning"><b>Note:</b> This event has been deprecated in 1.4.0 in favor of <code><a href="/pagecreate/">pagecreate</a></code>. Simply replace <code>pageinit</code> in the above example.</div>
</longdesc>
<added>1.0</added>
<signature>
</signature>
<category slug="events"/>
<deprecated>1.4</deprecated>
</entry>