Permalink
Browse files

Dialog: Added note about string and array forms of position option be…

…ing deprecated.
  • Loading branch information...
1 parent f3799d4 commit 2708135b4ceda2543eea8c66f407dd0e5ad89538 @scottgonzalez scottgonzalez committed Dec 7, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 entries/dialog.xml
View
@@ -87,7 +87,10 @@
<type name="Boolean" />
</option>
<option name="position" default='{ my: "center", at: "center", of: window }' example-value='{ my: "left top", at: "left bottom", of: button }'>
- <desc>Specifies where the dialog should be displayed. The dialog will handle collisions such that as much of the dialog is visible as possible.</desc>
+ <desc>
+ <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>
+ <p><em>Note: The <code>String</code> and <code>Array</code> forms are deprecated.</em></p>
+ </desc>
<type name="Object">
<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>
</type>

0 comments on commit 2708135

Please sign in to comment.