Table of Contents

Class RouteBlockerState

Namespace
Velvet
Assembly
Velvet.Docs.dll

State object held by an individual Blocker. UI components observe this object to drive the display of a block dialog.

public sealed class RouteBlockerState
Inheritance
object
RouteBlockerState

Properties

Attempt

Information about the navigation attempt being blocked. null when Idle.

Status

Current block state.

Methods

Proceed()

Releases the block and signals intent to allow the transition. After calling Proceed() you must invoke NavigateAsync manually again.

Reset()

Releases the block and signals intent to cancel the transition.