Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 52efe32

Browse files
karansapoliammalerba
authored andcommitted
docs(dialog): correct and add back resolve property (#11164)
Corrected resolve property description Closes #11159
1 parent cec409a commit 52efe32

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/dialog/dialog.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,8 @@ function MdDialogDirective($$rAF, $mdTheming, $mdDialog) {
536536
* `three` into the controller, with the value 3. If `bindToController` is true, they will be
537537
* copied to the controller instead.
538538
* - `bindToController` - `bool`: bind the locals to the controller, instead of passing them in.
539+
* - `resolve` - `{function=}`: Similar to locals, except it takes as values functions that return promises, and the
540+
* dialog will not open until all of the promises resolve.
539541
* - `controllerAs` - `{string=}`: An alias to assign the controller to on the scope.
540542
* - `parent` - `{element=}`: The element to append the dialog to. Defaults to appending
541543
* to the root element of the application.

0 commit comments

Comments
 (0)