angular-docs-cn/tools/public_api_guard/router
Jason Aden 12c317603a feat(router): add predicate function mode for runGuardsAndResolvers (#27682)
This option means guards and resolvers will ignore changes when a provided predicate function returns `false`. This supports use cases where an application needs to ignore some param updates but not others. For example, changing a sort param in the URL might need to be ignored, whereas changing the a `project` param might require re-run of guards and resolvers.

Related to #26861 #18253 #27464

PR Close #27682
2018-12-18 13:55:06 -08:00
..
router.d.ts feat(router): add predicate function mode for runGuardsAndResolvers (#27682) 2018-12-18 13:55:06 -08:00
testing.d.ts feat(ivy): selector side of ModuleWithProviders via type metadata (#24862) 2018-07-20 11:48:35 -07:00
upgrade.d.ts docs: update router to use `@publicApi` tags (#26595) 2018-10-19 14:35:53 -07:00