|
1 | 1 | <?xml version="1.0"?> |
2 | | -<entry name="dialog" type="widget" widget-element="generated wrapper"> |
| 2 | +<entry name="dialog" type="widget" animated-element="dialog" widget-element="generated wrapper"> |
3 | 3 | <title>Dialog Widget</title> |
4 | 4 | <desc>Open content in an interactive overlay.</desc> |
5 | 5 | <longdesc> |
|
135 | 135 | <desc>The only supported string value is <code>"auto"</code> which will allow the dialog height to adjust based on its content.</desc> |
136 | 136 | </type> |
137 | 137 | </option> |
138 | | - <option name="hide" default="null" example-value='"explode"'> |
139 | | - <desc>If and how to animate the hiding of the dialog.</desc> |
140 | | - <type name="Number"> |
141 | | - <desc> |
142 | | - The dialog will fade out while animating the height and width for the specified duration. |
143 | | - </desc> |
144 | | - </type> |
145 | | - <type name="String"> |
146 | | - <desc> |
147 | | - The dialog will be hidden using the specified jQuery UI effect. See the <a href="/category/effects/">list of effects</a> for possible values. |
148 | | - </desc> |
149 | | - </type> |
150 | | - <type name="Object"> |
151 | | - <desc>If the value is an object, then <code>effect</code>, <code>delay</code>, <code>duration</code>, and <code>easing</code> properties may be provided. The <code>effect</code> property must be the name of a jQuery UI effect. When using a jQuery UI effect that supports additional settings, you may include those settings in the object and they will be passed to the effect. If <code>duration</code> or <code>easing</code> is omitted, then the default values will be used. If <code>delay</code> is omitted, then no delay is used.</desc> |
152 | | - </type> |
153 | | - </option> |
| 138 | + <xi:include href="../includes/widget-option-hide.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/> |
154 | 139 | <option name="maxHeight" default="false" example-value="600"> |
155 | 140 | <desc>The maximum height to which the dialog can be resized, in pixels.</desc> |
156 | 141 | <type name="Number" /> |
|
190 | 175 | <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> |
191 | 176 | <type name="Boolean" /> |
192 | 177 | </option> |
193 | | - <option name="show" default="null" example-value='"fade"'> |
194 | | - <desc>If and how to animate the showing of the dialog.</desc> |
195 | | - <type name="Number"> |
196 | | - <desc> |
197 | | - The dialog will fade in while animating the height and width for the specified duration. |
198 | | - </desc> |
199 | | - </type> |
200 | | - <type name="String"> |
201 | | - <desc> |
202 | | - The dialog will be shown using the specified jQuery UI effect. See the <a href="/category/effects/">list of effects</a> for possible values. |
203 | | - </desc> |
204 | | - </type> |
205 | | - <type name="Object"> |
206 | | - <desc>If the value is an object, then <code>effect</code>, <code>delay</code>, <code>duration</code>, and <code>easing</code> properties may be provided. The <code>effect</code> property must be the name of a jQuery UI effect. When using a jQuery UI effect that supports additional settings, you may include those settings in the object and they will be passed to the effect. If <code>duration</code> or <code>easing</code> is omitted, then the default values will be used. If <code>delay</code> is omitted, then no delay is used.</desc> |
207 | | - </type> |
208 | | - </option> |
| 178 | + <xi:include href="../includes/widget-option-show.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/> |
209 | 179 | <option name="title" default='null' example-value='"Dialog Title"'> |
210 | 180 | <desc>Specifies the title of the dialog. If the value is <code>null</code>, the <code>title</code> attribute on the dialog source element will be used.</desc> |
211 | 181 | <type name="String" /> |
|
0 commit comments