Location Change
aura:locationChange
Indicates that the hash part of the url in the brower's location bar has been modified.
This event is fired when the hash part of the URL has changed. Handle this event using the aura:handler tag.
This client-side controller handles the aura:locationChange event.
Although aura:locationChange tracks changes to the hash fragment in a URL, it’s not useful for tracking navigation in Lightning Experience and Salesforce mobile app.
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
querystring | The query string portion of the hash that is stripped off and applied to the event as parameters. | string | ||
token | The new hash part of the url. | string |