From fc8437e58994dc718b039658abce837675e34d08 Mon Sep 17 00:00:00 2001 From: Mackinnon Buck Date: Mon, 31 Oct 2022 16:51:16 -0700 Subject: [PATCH] Update 'NavigationLock' description (#27447) --- aspnetcore/blazor/fundamentals/routing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/blazor/fundamentals/routing.md b/aspnetcore/blazor/fundamentals/routing.md index f03fc09f48..c1e1d18951 100644 --- a/aspnetcore/blazor/fundamentals/routing.md +++ b/aspnetcore/blazor/fundamentals/routing.md @@ -2037,7 +2037,7 @@ For additional example code, see the [`NavigationManagerComponent` in the `Basic [!INCLUDE[](~/includes/aspnetcore-repo-ref-source-links.md)] -To facilitate the control of navigation events in a Razor component, use the `NavigationLock` component. As long as the `NavigationLock` component is rendered, it intercepts navigation events. +The `NavigationLock` component intercepts navigation events as long as it is rendered, effectively "locking" any given navigation until a decision is made to either proceed or cancel. Use `NavigationLock` when navigation interception can be scoped to the lifetime of a component. `NavigationLock` parameters: