Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit 6173664

Browse files
committed
docs(modal): add note about $modalProvider
- Add note about setting global defaults via `$modalProvider.options` Closes #3797 Resolves #1759
1 parent 091f0f6 commit 6173664

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/modal/docs/readme.md

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ The `$modal` service has only one method: `open(options)` where available option
1818
* `windowTemplateUrl` - a path to a template overriding modal's window template
1919
* `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`
2020

21+
Global defaults may be set for `$modal` via `$modalProvider.options`.
22+
2123
The `open` method returns a modal instance, an object with the following properties:
2224

2325
* `close(result)` - a method that can be used to close a modal, passing a result

0 commit comments

Comments
 (0)