Permalink
Browse files

Collapsible set: Added option corners to option page and data- attrib…

…ute reference.
  • Loading branch information...
1 parent 0a5a87d commit 3cd72f9ab7dd1e9757e15425e646aa7472ea7686 @jaspermdegroot jaspermdegroot committed Dec 5, 2012
Showing with 15 additions and 0 deletions.
  1. +4 −0 docs/api/data-attributes.html
  2. +11 −0 docs/content/content-collapsible-set-options.html
@@ -143,6 +143,10 @@
<td>swatch letter (a-z) - Sets all collapsibles in set</td>
</tr>
<tr>
+ <th>data-corners</th>
+ <td><strong>true</strong> | false</td>
+ </tr>
+ <tr>
<th>data-expanded-icon</th>
<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>
</tr>
@@ -47,6 +47,17 @@
<p>This option is also exposed as a data attribute: <code>data-collapsed-icon=&quot;arrow-r&quot;</code>.</p>
</dd>
+ <dt><code>corners</code> <em>boolean</em></dt>
+ <dd>
+ <p class="default">default: true</p>
+ <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>
+<pre><code>$( document ).bind( "mobileinit", function(){
+ <strong>$.mobile.collapsible.prototype.options.corners = false;</strong>
+});
+</code></pre>
+ <p>This option is also exposed as a data attribute: <code>data-corners=&quot;false&quot;</code>.</p>
+ </dd>
+
<dt><code>expandedIcon</code> <em>string</em></dt>
<dd>
<p class="default">default: "minus"</p>

0 comments on commit 3cd72f9

Please sign in to comment.