jeudi 18 novembre 2021

Angular: Using Guard to check Url and show diffrent Options in DropDown

When you click on a dropdown, the data and the URL change, but not the component. I now want to create a guard called TypeGuard that checks which URL is given. After that, the page should display something different, depending on the URL. For example a dropdown, for the one URL it shows the numbers 1, 2 and 3. At the other it shows 2, 3 and 4, and so on.




Aucun commentaire:

Enregistrer un commentaire