refactor(router): misc minor updates
This commit is contained in:
		
							parent
							
								
									f634c62cb3
								
							
						
					
					
						commit
						a9d5de0e56
					
				| @ -110,7 +110,7 @@ export interface NavigationExtras { | ||||
|   * this.router.navigate(['/view'], { preserveQueryParams: true }); | ||||
|   * ``` | ||||
|   * | ||||
|   * @deprecated | ||||
|   * @deprecated since v4 | ||||
|   */ | ||||
|   preserveQueryParams?: boolean; | ||||
| 
 | ||||
|  | ||||
| @ -21,13 +21,12 @@ import {ErrorHandler, Router} from './router'; | ||||
| import {ROUTES} from './router_config_loader'; | ||||
| import {RouterOutletMap} from './router_outlet_map'; | ||||
| import {NoPreloading, PreloadAllModules, PreloadingStrategy, RouterPreloader} from './router_preloader'; | ||||
| import {ActivatedRoute, RouterStateSnapshot} from './router_state'; | ||||
| import {ActivatedRoute} from './router_state'; | ||||
| import {UrlHandlingStrategy} from './url_handling_strategy'; | ||||
| import {DefaultUrlSerializer, UrlSerializer} from './url_tree'; | ||||
| import {flatten} from './utils/collection'; | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| /** | ||||
|  * @whatItDoes Contains a list of directives | ||||
|  * @stable | ||||
| @ -224,8 +223,8 @@ export function provideRoutes(routes: Routes): any { | ||||
|  * * 'legacy_disabled'- the initial navigation is not performed. The location listener is set up | ||||
|  * after @deprecated | ||||
|  * the root component gets created. | ||||
|  * * `true` - same as 'legacy_enabled'. @deprecated | ||||
|  * * `false` - same as 'legacy_disabled'. @deprecated | ||||
|  * * `true` - same as 'legacy_enabled'. @deprecated since v4 | ||||
|  * * `false` - same as 'legacy_disabled'. @deprecated since v4 | ||||
|  * | ||||
|  * The 'enabled' option should be used for applications unless there is a reason to have | ||||
|  * more control over when the router starts its initial navigation due to some complex | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user