You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 29, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: src/modal/docs/readme.md
+1
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ The `$uibModal` service has only one method: `open(options)` where available opt
19
19
*`windowTemplateUrl` - a path to a template overriding modal's window template
20
20
*`size` - optional suffix of modal window class. The value used is appended to the `modal-` class, i.e. a value of `sm` gives `modal-sm`
21
21
*`openedClass` - class added to the `body` element when the modal is opened. Defaults to `modal-open`
22
+
*`appendTo` - Appends the modal to a specific element. appendTo must be an `angular.element`. Defaults to `body` element. Example: `appendTo: $document.find('aside')`.
22
23
23
24
Global defaults may be set for `$uibModal` via `$uibModalProvider.options`.
0 commit comments