docs(router): migrate deprecated @whatItDoes
tags (#23187)
The first line of the description is now used as an overview. PR Close #23187
This commit is contained in:

committed by
Igor Minar

parent
f66f408b04
commit
31b90436b4
@ -13,11 +13,11 @@ import {UpgradeModule} from '@angular/upgrade/static';
|
||||
|
||||
|
||||
/**
|
||||
* @whatItDoes Creates an initializer that in addition to setting up the Angular
|
||||
* router sets up the ngRoute integration.
|
||||
*
|
||||
* @description
|
||||
*
|
||||
* Creates an initializer that in addition to setting up the Angular
|
||||
* router sets up the ngRoute integration.
|
||||
*
|
||||
* ```
|
||||
* @NgModule({
|
||||
* imports: [
|
||||
@ -50,7 +50,9 @@ export function locationSyncBootstrapListener(ngUpgrade: UpgradeModule) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @whatItDoes Sets up a location synchronization.
|
||||
* @description
|
||||
*
|
||||
* Sets up a location synchronization.
|
||||
*
|
||||
* History.pushState does not fire onPopState, so the Angular location
|
||||
* doesn't detect it. The workaround is to attach a location change listener
|
||||
|
Reference in New Issue
Block a user