Skip to content

Commit e2a0fe8

Browse files
committed
Dialog: Remove array and string notations for position option.
1 parent a729778 commit e2a0fe8

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

entries/dialog.xml

-7
Original file line numberDiff line numberDiff line change
@@ -159,17 +159,10 @@
159159
<option name="position" default='{ my: "center", at: "center", of: window }' example-value='{ my: "left top", at: "left bottom", of: button }'>
160160
<desc>
161161
<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>
162-
<p><em>Note: The <code>String</code> and <code>Array</code> forms are deprecated.</em></p>
163162
</desc>
164163
<type name="Object">
165164
<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>
166165
</type>
167-
<type name="String">
168-
<desc>A string representing the position within the viewport. Possible values: <code>"center"</code>, <code>"left"</code>, <code>"right"</code>, <code>"top"</code>, <code>"bottom"</code>.</desc>
169-
</type>
170-
<type name="Array">
171-
<desc>An array containing an <em>x, y</em> coordinate pair in pixel offset from the top left corner of the viewport or the name of a possible string value.</desc>
172-
</type>
173166
</option>
174167
<option name="resizable" default="true" example-value="false">
175168
<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)