Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

how to add query parameter to url in angular

navigateToFoo(){
     this._router.navigate([], {
      queryParams: {
        newOrdNum: '123'
      },
      queryParamsHandling: 'merge',
    });
   }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #query #parameter #url #angular
ADD COMMENT
Topic
Name
4+8 =