RouterPush
Push will update the URL for the browser and also add the URL into the history so when a user uses the back button on their browser it will behave as expected.
Type parameters
Parameter | Type |
---|---|
TSource | Name |
Parameters
Parameter | Type |
---|---|
source | Url | TSource |
options | RouterPushOptions | undefined |
RouterPushOptions
ts
{
query?: QuerySource,
replace?: boolean,
hash?: string,
}
Returns
Promise<void>