mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs(overlay): fix typos in flex position comments (#11241)
This commit is contained in:
committed by
Jeremy Elbourn
parent
9dadf371d5
commit
c58f6bf8a3
@@ -310,7 +310,7 @@ export class FlexibleConnectedPositionStrategy implements PositionStrategy {
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a new preferred fallback position.
|
||||
* Adds new preferred positions.
|
||||
* @param positions List of positions options for this overlay.
|
||||
*/
|
||||
withPositions(positions: ConnectedPosition[]): this {
|
||||
@@ -328,7 +328,7 @@ export class FlexibleConnectedPositionStrategy implements PositionStrategy {
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets a minimum distance the ovelray may be positioned to the edge of the viewport.
|
||||
* Sets a minimum distance the overlay may be positioned to the edge of the viewport.
|
||||
* @param margin Required margin between the overlay and the viewport edge in pixels.
|
||||
*/
|
||||
withViewportMargin(margin: number): this {
|
||||
|
||||
Reference in New Issue
Block a user