Created
July 1, 2020 14:41
-
-
Save vitor-diego-s/c75ba764945a51631c60a0aca66346ab to your computer and use it in GitHub Desktop.
Angular 8 location access
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getQueryStringStuff(){ | |
console.log('Router class', this.router.url); | |
this.route.queryParams.subscribe(params => { | |
console.log('ActivatedRoute class', params); | |
}); | |
console.log('Location class', Location.normalizeQueryParams(this.router.url)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment