Answers for "get current url last part angular"

0

get current url last part angular

constructor(private route: ActivatedRoute){}
        
           ngOnInit() {
              this.route.parent.snapshot.url[2].path;
           }
Posted by: Guest on April-26-2021

Code answers related to "get current url last part angular"

Code answers related to "Javascript"

Browse Popular Code Answers by Language