search

Home  >  Q&A  >  body text

angular.js - How to implement sliding doors in angularjs1.x?

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.

过去多啦不再A梦过去多啦不再A梦2884 days ago552

reply all(1)I'll reply

  • 淡淡烟草味

    淡淡烟草味2017-05-15 17:03:16

    https://jsfiddle.net/0t1242sd/

    I wrote it casually

    reply
    0
  • Cancelreply