Skip to content

Commit 5c62de5

Browse files
committed
Dialog: Remove array and string notations for position option.
1 parent f862978 commit 5c62de5

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

entries/dialog.xml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -129,17 +129,10 @@
129129
<option name="position" default='{ my: "center", at: "center", of: window }' example-value='{ my: "left top", at: "left bottom", of: button }'>
130130
<desc>
131131
<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>
132-
<p><em>Note: The <code>String</code> and <code>Array</code> forms are deprecated.</em></p>
133132
</desc>
134133
<type name="Object">
135134
<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>
136135
</type>
137-
<type name="String">
138-
<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>
139-
</type>
140-
<type name="Array">
141-
<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>
142-
</type>
143136
</option>
144137
<option name="resizable" default="true" example-value="false">
145138
<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)