Class BlockerFunctionArgs
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
What a navigation Blocker's predicate is asked about: React Router's BlockerFunction argument.
public sealed class BlockerFunctionArgs
- Inheritance
-
objectBlockerFunctionArgs
Properties
- CurrentLocation
The location the router is on; null before its first navigation commits.
- HistoryAction
How the navigation would change the history stack.
- NextLocation
The location being navigated to, carrying its path and query string. Blockers are consulted before the path is matched, so it carries no Matches and no parameters.