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

Commit 6fd28f9

Browse files
Dialog: added option corners to option-page and data- attribute reference.
1 parent 7caa974 commit 6fd28f9

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

docs/api/data-attributes.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,10 @@ <h2><a href="../pages/dialog/index.html">Dialog</a></h2>
189189
<th>data-close-btn-text</th>
190190
<td>string - Text for the close button, dialog only</td>
191191
</tr>
192+
<tr>
193+
<th>data-corners</th>
194+
<td><strong>true</strong> | false</td>
195+
</tr>
192196
<tr>
193197
<th>data-dom-cache</th>
194198
<td>true | <strong>false</strong></td>

docs/pages/dialog/options.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,15 @@ <h2>Dialog</h2>
4949
<pre><code>$( ".selector" ).dialog(<strong>{ closeBtnText: "Fermer" }</strong>);</code></pre>
5050
</dd>
5151

52+
<dt><code>corners</code> <em>boolean</em></dt>
53+
<dd>
54+
<p class="default">default: true</p>
55+
<p>Sets whether to draw the dialo with rounded corners.</p>
56+
<p>This option is also exposed as a data attribute: <code>data-corners="false"</code>.</p>
57+
58+
<pre><code>$( ".selector" ).dialog(<strong>{ corners: false }</strong>);</code></pre>
59+
</dd>
60+
5261
<dt><code>initSelector</code> <em>CSS selector string</em></dt>
5362
<dd>
5463
<p class="default">default: ":jqmData(role='dialog')"</p>

0 commit comments

Comments
 (0)