Permalink
Browse files

Collapsible: Added option corners to option page and data- attribute …

…reference.
  • Loading branch information...
1 parent 47b3680 commit 0a5a87d5b1bf4a155ef44d8dbfd3b019502ae80a @jaspermdegroot jaspermdegroot committed Dec 4, 2012
Showing with 15 additions and 0 deletions.
  1. +4 −0 docs/api/data-attributes.html
  2. +11 −0 docs/content/content-collapsible-options.html
@@ -106,6 +106,10 @@
<td>swatch letter (a-z)</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>
@@ -79,6 +79,17 @@
<p>This option is also exposed as a data attribute: <code>data-content-theme=&quot;a&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 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>expandCueText</code> <em>string</em></dt>
<dd>
<p class="default">default: " click to expand contents"</p>

0 comments on commit 0a5a87d

Please sign in to comment.