Table of Contents

Method UseNavigationType

Namespace
Velvet
Assembly
Velvet.Docs.dll

UseNavigationType()

Returns how the current location was reached, and re-renders the component as the location changes: React Router's useNavigationType.

public static NavigationType UseNavigationType()

Returns

NavigationType

Exceptions

InvalidOperationException

No V.RouterProvider is mounted above the caller.