docs(router): clarify scroll position wording (#25077)

PR Close #25077
This commit is contained in:
Stephen Fluin 2018-07-24 14:24:52 -07:00 committed by Igor Minar
parent 1e5327872d
commit 166ddaadca
1 changed files with 3 additions and 3 deletions

View File

@ -321,9 +321,9 @@ export interface ExtraOptions {
* * 'enabled'--set the scroll position to the stored position. This option will be the default in
* the future.
*
* When enabled, the router store store scroll positions when navigating forward, and will
* restore the stored positions whe navigating back (popstate). When navigating forward,
* the scroll position will be set to [0, 0], or to the anchor if one is provided.
* When enabled, the router stores and restores scroll positions during navigation.
* When navigating forward, the scroll position will be set to [0, 0], or to the anchor
* if one is provided.
*
* You can implement custom scroll restoration behavior as follows.
* ```typescript