Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- route.paramMap.subscribe(
- params => this.productID = params.get('id')
- );
- getAll(name: string): string[] Return an array of values for the given
- parameter name.
- params:string[] = this.route.snapshot.paramMap.getAll();
Add Comment
Please, Sign In to add comment