File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -33,12 +33,12 @@ export class OverlayRef implements PortalHost {
33
33
}
34
34
35
35
detach ( ) : Promise < any > {
36
- this . _detatchBackdrop ( ) ;
36
+ this . _detachBackdrop ( ) ;
37
37
return this . _portalHost . detach ( ) ;
38
38
}
39
39
40
40
dispose ( ) : void {
41
- this . _detatchBackdrop ( ) ;
41
+ this . _detachBackdrop ( ) ;
42
42
this . _portalHost . dispose ( ) ;
43
43
}
44
44
@@ -101,7 +101,7 @@ export class OverlayRef implements PortalHost {
101
101
}
102
102
103
103
/** Detaches the backdrop (if any) associated with the overlay. */
104
- private _detatchBackdrop ( ) : void {
104
+ private _detachBackdrop ( ) : void {
105
105
let backdropToDetach = this . _backdropElement ;
106
106
107
107
if ( backdropToDetach ) {
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ export class PortalHostDirective extends BasePortalHost implements OnDestroy {
97
97
return new Map < string , any > ( ) ;
98
98
}
99
99
100
- /** Detatches the currently attached Portal (if there is one) and attaches the given Portal. */
100
+ /** Detaches the currently attached Portal (if there is one) and attaches the given Portal. */
101
101
private _replaceAttachedPortal ( p : Portal < any > ) : void {
102
102
if ( this . hasAttached ( ) ) {
103
103
this . detach ( ) ;
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ export abstract class Portal<T> {
56
56
57
57
/**
58
58
* Sets the PortalHost reference without performing `attach()`. This is used directly by
59
- * the PortalHost when it is performing an `attach()` or `detatch ()`.
59
+ * the PortalHost when it is performing an `attach()` or `detach ()`.
60
60
*/
61
61
setAttachedHost ( host : PortalHost ) {
62
62
this . _attachedHost = host ;
You can’t perform that action at this time.
0 commit comments