Permalink
Browse files

Dialog: added option corners to option-page and data- attribute refer…

…ence.
  • Loading branch information...
jaspermdegroot committed Dec 4, 2012
1 parent 7caa974 commit 6fd28f915b24f7648fc4b13cccd81b3bf67fc863
Showing with 13 additions and 0 deletions.
  1. +4 −0 docs/api/data-attributes.html
  2. +9 −0 docs/pages/dialog/options.html
@@ -189,6 +189,10 @@ <h2><a href="../pages/dialog/index.html">Dialog</a></h2>
<th>data-close-btn-text</th>
<td>string - Text for the close button, dialog only</td>
</tr>
<tr>
<th>data-corners</th>
<td><strong>true</strong> | false</td>
</tr>
<tr>
<th>data-dom-cache</th>
<td>true | <strong>false</strong></td>
@@ -49,6 +49,15 @@ <h2>Dialog</h2>
<pre><code>$( ".selector" ).dialog(<strong>{ closeBtnText: "Fermer" }</strong>);</code></pre>
</dd>
<dt><code>corners</code> <em>boolean</em></dt>
<dd>
<p class="default">default: true</p>
<p>Sets whether to draw the dialo with rounded corners.</p>
<p>This option is also exposed as a data attribute: <code>data-corners="false"</code>.</p>
<pre><code>$( ".selector" ).dialog(<strong>{ corners: false }</strong>);</code></pre>
</dd>
<dt><code>initSelector</code> <em>CSS selector string</em></dt>
<dd>
<p class="default">default: ":jqmData(role='dialog')"</p>

0 comments on commit 6fd28f9

Please sign in to comment.