setUpLocationSync

Sets up a location synchronization.

setUpLocationSync(ngUpgrade: UpgradeModule)

参数

ngUpgrade

Type: UpgradeModule.

说明

History.pushState does not fire onPopState, so the Angular location doesn't detect it. The workaround is to attach a location change listener