Skip to content

Commit 5e5cb15

Browse files
committed
Loader: Add theming section
1 parent b398ea1 commit 5e5cb15

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

entries/loader.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,24 @@
66
<longdesc>
77
<h2>The Loader Widget</h2>
88
<p>The loader widget handles the task of displaying the loading dialog when jQuery Mobile pulls in content via Ajax. It can also be displayed manually for custom loading actions using the <code>$.mobile.loading</code> helper method (See the global method docs).</p>
9+
10+
11+
<xi:include href="../includes/widget-theming.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
12+
13+
<ul>
14+
<li>
15+
<code>ui-loader</code>: Outermost container for listview widget. If <code>textvisible</code> option is used <code>ui-loader-verbose</code> class will be added. Additionally if <code>textonly</code> option is used then <code>ui-loader-textonly</code> class will added. In all other cases where text is not present <code>ui-loader-default</code> class will be added.
16+
<ul>
17+
<li>
18+
<code>ui-loader-item</code>: Span element of the loader representing the icon
19+
</li>
20+
<li>
21+
<code>ui-loader-header</code>: Header element of the loader representing the text of the loader.
22+
</li>
23+
</ul>
24+
</li>
25+
</ul>
26+
927
<p>To configure the loading dialog globally the following settings can be defined on its prototype during the <code>mobileinit</code> event.</p> Below are the defaults:
1028

1129
<pre><code><![CDATA[

0 commit comments

Comments
 (0)