You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<dd>Triggers after a quick, complete touch event.</dd>
45
+
<dd><p>Triggers after a quick, complete touch event.</p>
46
+
<ul>
47
+
<li><code>tapholdThreshold</code> (default: 750ms) – This value dictates how long the user must hold their tap before the taphold event is fired on the target element.</li>
48
+
</ul>
49
+
</dd>
46
50
47
51
<dt><code>taphold</code></dt>
48
52
<dd>Triggers after a held complete touch event (close to one second).</dd>
@@ -100,7 +104,7 @@ <h4 style="margin:.5em 0">Canceling an elements default click behavior</h4>
100
104
<h2>Orientation change event</h2>
101
105
<dl>
102
106
<dt><code>orientationchange</code></dt>
103
-
<dd>Triggers when a device orientation changes (by turning it vertically or horizontally). When bound to this event, your callback function can leverage a second argument, which contains an <code>orientation</code> property equal to either "portrait" or "landscape". These values are also added as classes to the HTML element, allowing you to leverage them in your CSS selectors. Note that we currently bind to the resize event when <code>orientationchange</code> is not natively supported, or when <code>$.mobile.orientationChangeEnabled</code> is set to false.</dd>
107
+
<dd>Triggers when a device orientation changes (by turning it vertically or horizontally). When bound to this event, your callback function can leverage a second argument, which contains an <code>orientation</code> property equal to either "portrait" or "landscape". Note that we currently bind to the resize event when <code>orientationchange</code> is not natively supported, or when <code>$.mobile.orientationChangeEnabled</code> is set to false.</dd>
<dd>jQuery Mobile will automatically bind the clicks on anchor tags in your document. Setting this options to false will prevent all anchor click handling <em>including</em> the addition of active button state and alternate link bluring. This should only be used when attempting to delegate the click management to another library or custom code.</dd>
<dd>Set the text that appears when a page is loading. If set to false, the message will not appear at all.</dd>
116
+
<dd>
117
+
Set the text that appears when a page is loading. If set to false, the message will not appear at all.
118
+
<pclass="ui-bar-e">Deprecated in 1.2 - use <code>$.mobile.loader.prototype.options.text</code> instead. See the <ahref="../../docs/pages/loader.html">loader docs</a> for more.</p>
<dd>Whether the text should be visible when a loading message is shown. The text is always visible for loading errors.</dd>
122
+
<dd>
123
+
Whether the text should be visible when a loading message is shown. The text is always visible for loading errors.
124
+
<pclass="ui-bar-e">Deprecated in 1.2 - use <code>$.mobile.loader.prototype.options.textVisible</code> instead. See the <ahref="../../docs/pages/loader.html">loader docs</a> for more.</p>
<dd>The theme that the loading message box uses when text is visible.</dd>
128
+
<dd>
129
+
The theme that the loading message box uses when text is visible.
130
+
<pclass="ui-bar-e">Deprecated in 1.2 - use <code>$.mobile.loader.prototype.options.theme</code> instead. See the <ahref="../../docs/pages/loader.html">loader docs</a> for more.</p>
<dd>Show or hide the page loading message, which is configurable via <code>$.mobile.loader</code> prototype options as described in the <ahref="../docs/pages/loader.html">widget docs</a> or can be controlled via a params object.</dd>
<dd><code>theme</code> (<em>string</em>, default: "a") The theme swatch for the message.</dd>
192
+
<dd><code>text</code> (<em>string</em>, default: "loading") The text of the message.</dd>
193
+
<dd><code>textonly</code> (<em>boolean</em>, default: false) If true, the "spinner" image will be hidden when the message is shown.</dd>
194
+
<dd><code>textVisible</code> (<em>boolean</em>, default: false) If true, the text value will be used under the spinner.</dd>
195
+
<dd><code>html</code> (<em>boolean</em>, default: "") If this is set to a non empty string value it will be used to replace the entirety of the loader's inner html</dd>
196
+
</dl>
197
+
</dd>
198
+
<dd>Examples:
199
+
<pre>
200
+
<code>
201
+
<strong>//cue the page loader</strong>
202
+
$.mobile.loading( 'show' );
203
+
204
+
<strong>//use theme swatch "b", a custom message, and no spinner</strong>
Copy file name to clipboardExpand all lines: docs/buttons/buttons-types.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ <h2>Form buttons</h2>
71
71
$('[type='submit']').button();
72
72
</code>
73
73
74
-
<p>To preserve events bound to the original <code>button</code> or <code>input</code>, the framework hides the original element by making it transparent and positioning it over the new button markup. When a user clicks on the the custom-styled button, they're actually clicking on the original element. To prevent a form button from being converted into an enhanced button, add the <code>data-role="none"</code> attribute and hte native control will be rendered.</p>
74
+
<p>To preserve events bound to the original <code>button</code> or <code>input</code>, the framework hides the original element by making it transparent and positioning it over the new button markup. When a user clicks on the the custom-styled button, they're actually clicking on the original element. To prevent a form button from being converted into an enhanced button, add the <code>data-role="none"</code> attribute and the native control will be rendered.</p>
Copy file name to clipboardExpand all lines: docs/content/content-collapsible.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -93,7 +93,7 @@ <h3>I have custom icons</h3>
93
93
</div>
94
94
95
95
<h2>Icon positioning</h2>
96
-
<p>Collapsible headings’ default icon positioing can be overridden by using the <code>data-iconpos</code> attribute. In the below case, <code>data-iconpos="right"</code>.</p>
96
+
<p>Collapsible headings’ default icon positioning can be overridden by using the <code>data-iconpos</code> attribute. In the below case, <code>data-iconpos="right"</code>.</p>
0 commit comments