mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
Changed the description of the role option for loadPage() and changePage() to reflect some changes to the default value I just checked in.
This commit is contained in:
parent
8b6d14bb03
commit
0ec7c3c54a
1 changed files with 2 additions and 2 deletions
|
|
@ -46,7 +46,7 @@
|
|||
<li><code>transition</code> (<em>string</em>, default: $.mobile.defaultPageTransition) The transition to use when showing the page. </li>
|
||||
<li><code>reverse</code> (<em>boolean</em>, default: false) Decides what direction the transition will run when showing the page. </li>
|
||||
<li><code>changeHash</code> (<em>boolean</em>, default: true) Decides if the hash in the location bar should be updated. </li>
|
||||
<li><code>role</code> (<em>string</em>, default: "page") The data-role value to be used when displaying the page. </li>
|
||||
<li><code>role</code> (<em>string</em>, default: undefined) The data-role value to be used when displaying the page. By default this is undefined which means rely on the value of the @data-role attribute defined on the element.</li>
|
||||
<li><code>pageContainer</code> (jQuery collection, default: $.mobile.pageContainer) Specifies the element that should contain the page. </li>
|
||||
<li><code>type</code> (<em>string</em>, default: "get") Specifies the method ("get" or "post") to use when making a page request.
|
||||
<ul>
|
||||
|
|
@ -109,7 +109,7 @@ $.mobile.changePage( "../alerts/confirm.html", {
|
|||
<ul>
|
||||
<li>Properties:
|
||||
<ul>
|
||||
<li><code>role</code> (<em>string</em>, default: "page") The data-role value to be used when displaying the page. </li>
|
||||
<li><code>role</code> (<em>string</em>, default: undefined) The data-role value to be used when displaying the page. By default this is undefined which means rely on the value of the @data-role attribute defined on the element.</li>
|
||||
<li><code>pageContainer</code> (jQuery collection, default: $.mobile.pageContainer) Specifies the element that should contain the page after it is loaded. </li>
|
||||
<li><code>type</code> (<em>string</em>, default: "get") Specifies the method ("get" or "post") to use when making a page request.
|
||||
</li>
|
||||
|
|
|
|||
Loading…
Reference in a new issue