Skip to content

Commit a0dd10b

Browse files
committed
chore: auto update API docs
1 parent cb91fac commit a0dd10b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs/API-Reference/widgets/Dialogs.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Left-aligned button class name
5959
**Kind**: global constant
6060
<a name="showModalDialogUsingTemplate"></a>
6161

62-
## showModalDialogUsingTemplate(template, [autoDismiss]) ⇒ [<code>Dialog</code>](#new_Dialog_new)
62+
## showModalDialogUsingTemplate(template, [autoDismiss], [closeToElement]) ⇒ [<code>Dialog</code>](#new_Dialog_new)
6363
Creates a new modal dialog from a given template.
6464
The template can either be a string or a jQuery object representing a DOM node that is *not* in the current DOM.
6565

@@ -69,6 +69,7 @@ The template can either be a string or a jQuery object representing a DOM node t
6969
| --- | --- | --- |
7070
| template | <code>string</code> | A string template or jQuery object to use as the dialog HTML. |
7171
| [autoDismiss] | <code>boolean</code> | Whether to automatically dismiss the dialog when one of the buttons is clicked. Default true. If false, you'll need to manually handle button clicks and the Esc key, and dismiss the dialog yourself when ready by calling `close()` on the returned dialog. |
72+
| [closeToElement] | <code>string</code> | A CSS selector for a target element. If specified, the dialog will animate open from and close toward the target element (a "woosh" effect). If the target is not found or not visible, the dialog opens/closes normally. |
7273

7374
<a name="showModalDialog"></a>
7475

0 commit comments

Comments
 (0)