Skip to content

Commit fade053

Browse files
committed
fix some comments
1 parent f8051fb commit fade053

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/cdk/overlay/position/connected-position-strategy.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,14 @@ export class ConnectedPositionStrategy implements PositionStrategy {
9090
this._pane = overlayRef.overlayElement;
9191
}
9292

93-
/** To be used to for any cleanup after the element gets destroyed. */
93+
/** Performs any cleanup after the element is destroyed. */
9494
dispose() { }
9595

9696
/**
9797
* Updates the position of the overlay element, using whichever preferred position relative
9898
* to the origin fits on-screen.
9999
* @docs-private
100100
*
101-
* @param element Element to which to apply the CSS styles.
102101
* @returns Resolves when the styles have been applied.
103102
*/
104103
apply(): void {

src/cdk/overlay/position/global-position-strategy.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,7 @@ export class GlobalPositionStrategy implements PositionStrategy {
168168
parentStyles.alignItems = this._alignItems;
169169
}
170170

171-
/**
172-
* Removes the wrapper element from the DOM.
173-
*/
171+
/** Removes the wrapper element from the DOM. */
174172
dispose(): void {
175173
if (this._wrapper && this._wrapper.parentNode) {
176174
this._wrapper.parentNode.removeChild(this._wrapper);

0 commit comments

Comments
 (0)