Hello everyone, I am new to angualr and I want to achieve a sliding door effect.
For example, if I click on the homepage, add an active to the homepage label, and then when I click on other labels, remove the active on the homepage and add the active to the current label.
I really don’t have a clue, I’m so clueless, please help me, thank you.
https://jsfiddle.net/0t1242sd/
I wrote it casually