@@ -191,7 +191,7 @@ export class FlexibleConnectedPositionStrategy implements PositionStrategy {
191
191
* The selection of a position goes as follows:
192
192
* - If any positions fit completely within the viewport as-is,
193
193
* choose the first position that does so.
194
- * - If flexible dimensions are enabled and at least one satifies the given minimum width/height,
194
+ * - If flexible dimensions are enabled and at least one satisfies the given minimum width/height,
195
195
* choose the position with the greatest available size modified by the positions' weight.
196
196
* - If pushing is enabled, take the position that went off-screen the least and push it
197
197
* on-screen.
@@ -633,7 +633,7 @@ export class FlexibleConnectedPositionStrategy implements PositionStrategy {
633
633
634
634
/**
635
635
* Gets the point at which the overlay can be "pushed" on-screen. If the overlay is larger than
636
- * the viewport, the top-left corner will be pushed on-screen (with overflow occuring on the
636
+ * the viewport, the top-left corner will be pushed on-screen (with overflow occurring on the
637
637
* right and bottom).
638
638
*
639
639
* @param start Starting point from which the overlay is pushed.
@@ -715,7 +715,7 @@ export class FlexibleConnectedPositionStrategy implements PositionStrategy {
715
715
716
716
// Notify that the position has been changed along with its change properties.
717
717
// We only emit if we've got any subscriptions, because the scroll visibility
718
- // calculcations can be somewhat expensive.
718
+ // calculations can be somewhat expensive.
719
719
if ( this . _positionChanges . observers . length ) {
720
720
const scrollableViewProperties = this . _getScrollVisibility ( ) ;
721
721
const changeEvent = new ConnectedOverlayPositionChange ( position , scrollableViewProperties ) ;
@@ -831,7 +831,7 @@ export class FlexibleConnectedPositionStrategy implements PositionStrategy {
831
831
832
832
/**
833
833
* Sets the position and size of the overlay's sizing wrapper. The wrapper is positioned on the
834
- * origin's connection point and stetches to the bounds of the viewport.
834
+ * origin's connection point and stretches to the bounds of the viewport.
835
835
*
836
836
* @param origin The point on the origin element where the overlay is connected.
837
837
* @param position The position preference
@@ -1108,7 +1108,7 @@ export class FlexibleConnectedPositionStrategy implements PositionStrategy {
1108
1108
private _getOffset ( position : ConnectedPosition , axis : 'x' | 'y' ) {
1109
1109
if ( axis === 'x' ) {
1110
1110
// We don't do something like `position['offset' + axis]` in
1111
- // order to avoid breking minifiers that rename properties.
1111
+ // order to avoid breaking minifiers that rename properties.
1112
1112
return position . offsetX == null ? this . _offsetX : position . offsetX ;
1113
1113
}
1114
1114
0 commit comments