mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs(dialog): fix misleading code comment (#3894)
This commit is contained in:
committed by
Jeremy Elbourn
parent
c486cf817a
commit
bc074a19b9
@@ -27,11 +27,12 @@ export class MdDialog {
|
||||
return this._parentDialog ? this._parentDialog._openDialogs : this._openDialogsAtThisLevel;
|
||||
}
|
||||
|
||||
/** Subject for notifying the user that all open dialogs have finished closing. */
|
||||
/** Subject for notifying the user that a dialog has opened. */
|
||||
get _afterOpen(): Subject<MdDialogRef<any>> {
|
||||
return this._parentDialog ? this._parentDialog._afterOpen : this._afterOpenAtThisLevel;
|
||||
}
|
||||
/** Subject for notifying the user that a dialog has opened. */
|
||||
|
||||
/** Subject for notifying the user that all open dialogs have finished closing. */
|
||||
get _afterAllClosed(): Subject<void> {
|
||||
return this._parentDialog ?
|
||||
this._parentDialog._afterAllClosed : this._afterAllClosedAtThisLevel;
|
||||
@@ -215,4 +216,3 @@ export class MdDialog {
|
||||
function _applyConfigDefaults(config: MdDialogConfig): MdDialogConfig {
|
||||
return extendObject(new MdDialogConfig(), config);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user