Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The signal
read-only property of the NavigateEvent
interface returns an AbortSignal
, which will become aborted if the navigation is cancelled (e.g. by the user pressing the browser's "Stop" button, or another navigation starting and thus cancelling the ongoing one).