NavigationLock Class

Definition

A component that can be used to intercept navigation events.

public sealed class NavigationLock : IAsyncDisposable, Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleAfterRender
type NavigationLock = class
    interface IComponent
    interface IHandleAfterRender
    interface IAsyncDisposable
Public NotInheritable Class NavigationLock
Implements IAsyncDisposable, IComponent, IHandleAfterRender
Inheritance
NavigationLock
Implements

Constructors

NavigationLock()

Properties

ConfirmExternalNavigation

Gets or sets whether a browser dialog should prompt the user to either confirm or cancel external navigations.

OnBeforeInternalNavigation

Gets or sets a callback to be invoked when an internal navigation event occurs.

Explicit Interface Implementations

IAsyncDisposable.DisposeAsync()
IComponent.Attach(RenderHandle)
IComponent.SetParametersAsync(ParameterView)
IHandleAfterRender.OnAfterRenderAsync()

Applies to