Skip to content

Commit 33154a2

Browse files
committed
Dialog: Get rif of "multiple types" for the position option
1 parent d8b2f13 commit 33154a2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

entries/dialog.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,11 +158,10 @@
158158
</option>
159159
<option name="position" default='{ my: "center", at: "center", of: window }' example-value='{ my: "left top", at: "left bottom", of: button }'>
160160
<desc>
161-
<p>Specifies where the dialog should be displayed. The dialog will handle collisions such that as much of the dialog is visible as possible.</p>
161+
<p>Specifies where the dialog should be displayed when opened. The dialog will handle collisions such that as much of the dialog is visible as possible.</p>
162+
<p>The <code>of</code> property defaults to the window, but you can specify another element to position against. You can refer to the <a href="/position/">jQuery UI Position</a> utility for more details about the available properties.</p>
162163
</desc>
163-
<type name="Object">
164-
<desc>Identifies the position of the dialog when opened. The <code>of</code> option defaults to the window, but you can specify another element to position against. You can refer to the <a href="/position/">jQuery UI Position</a> utility for more details about the various options.</desc>
165-
</type>
164+
<type name="Object"/>
166165
</option>
167166
<option name="resizable" default="true" example-value="false">
168167
<desc>If set to <code>true</code>, the dialog will be resizable. Requires the <a href="/resizable/">jQuery UI Resizable widget</a> to be included.</desc>

0 commit comments

Comments
 (0)