Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Collapsible set: Added option corners to option page and data- attrib…
Browse files Browse the repository at this point in the history
…ute reference.
  • Loading branch information
jaspermdegroot committed Dec 5, 2012
1 parent 0a5a87d commit 3cd72f9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/api/data-attributes.html
Expand Up @@ -142,6 +142,10 @@ <h2><a href="../content/content-collapsible-set.html">Collapsible set</a></h2>
<th>data-content-theme</th>
<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>
Expand Down
11 changes: 11 additions & 0 deletions docs/content/content-collapsible-set-options.html
Expand Up @@ -47,6 +47,17 @@ <h2>Collapsible sets</h2>
<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>
Expand Down

0 comments on commit 3cd72f9

Please sign in to comment.