Table of Contents

Class NavigateOptions

Namespace
Velvet
Assembly
Velvet.Docs.dll

The per-call options of a NavigateFunction: React Router's second argument to navigate, less flushSync and viewTransition, which routing.md lists among its deviations.

public sealed class NavigateOptions
Inheritance
object
NavigateOptions

Properties

PreventScrollReset

Accepted for source parity with React Router and read by nothing: the router has no scroll restoration.

Relative

How a relative target is resolved. Absolute targets ignore it.

Replace

Replaces the current history entry instead of pushing a new one.

State

Stored on the history entry and read back from State.