Skip to content

Function: restoreReturnFragment()

TypeScript
function restoreReturnFragment(): boolean;

Defined in: return-to.ts:123 (opens in a new tab)

Put back the fragment a return address left behind, if the browser has just landed on its path with no fragment of its own. Used once, then gone. OcSessionProvider calls this before its children render; returns whether a fragment was restored.

ReturnsLink to this section

boolean