Thanks to visit codestin.com Credit goes to angular.dev
A serializable version of the event from onPopState or onHashChange
onPopState
onHashChange
interface LocationChangeEvent { type: string; state: any;}
string
any