BeforeNavigateAwayData interface

An interface representing the data that is passed to the beforeNavigateAway hook

Properties

nextUrl

The next URL is the destination url when onLeave event is triggered. For example, /next/url?key1=val1&key2=val2.

Property Details

nextUrl

The next URL is the destination url when onLeave event is triggered. For example, /next/url?key1=val1&key2=val2.

nextUrl: string

Property Value

string