Answers for "angular get router path"

1

angular get router path

import {filter} from 'rxjs/operators';

router.events.pipe(
    filter(event => event instanceof NavigationEnd)
)
    .subscribe(event => {
        console.log(event);
    });
Posted by: Guest on May-27-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language