Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3cd72f9

Browse files
committedDec 5, 2012
Collapsible set: Added option corners to option page and data- attribute reference.
1 parent 0a5a87d commit 3cd72f9

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
 

‎docs/api/data-attributes.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,10 @@ <h2><a href="../content/content-collapsible-set.html">Collapsible set</a></h2>
142142
<th>data-content-theme</th>
143143
<td>swatch letter (a-z) - Sets all collapsibles in set</td>
144144
</tr>
145+
<tr>
146+
<th>data-corners</th>
147+
<td><strong>true</strong> | false</td>
148+
</tr>
145149
<tr>
146150
<th>data-expanded-icon</th>
147151
<td>home | delete | plus | arrow-u | arrow-d | check | gear | grid | star | custom | arrow-r | arrow-l | <strong>minus</strong> | refresh | forward | back | alert | info | search</td>

‎docs/content/content-collapsible-set-options.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,17 @@ <h2>Collapsible sets</h2>
4747
<p>This option is also exposed as a data attribute: <code>data-collapsed-icon=&quot;arrow-r&quot;</code>.</p>
4848
</dd>
4949

50+
<dt><code>corners</code> <em>boolean</em></dt>
51+
<dd>
52+
<p class="default">default: true</p>
53+
<p>Applies the theme border-radius to the first and last collapsible if set to true. To set the value for all instances of this widget, bind this option to the <a href="../../api/globalconfig.html">mobileinit event</a>:</p>
54+
<pre><code>$( document ).bind( "mobileinit", function(){
55+
<strong>$.mobile.collapsible.prototype.options.corners = false;</strong>
56+
});
57+
</code></pre>
58+
<p>This option is also exposed as a data attribute: <code>data-corners=&quot;false&quot;</code>.</p>
59+
</dd>
60+
5061
<dt><code>expandedIcon</code> <em>string</em></dt>
5162
<dd>
5263
<p class="default">default: "minus"</p>

0 commit comments

Comments
 (0)
Please sign in to comment.