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

Commit

Permalink
Dialog: added option corners to option-page and data- attribute refer…
Browse files Browse the repository at this point in the history
…ence.
  • Loading branch information
jaspermdegroot committed Dec 4, 2012
1 parent 7caa974 commit 6fd28f9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/api/data-attributes.html
Expand Up @@ -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>
Expand Down
9 changes: 9 additions & 0 deletions docs/pages/dialog/options.html
Expand Up @@ -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>
Expand Down

0 comments on commit 6fd28f9

Please sign in to comment.