Assigning 'active' class to selected list item in EmberJS

后端 未结 12 2089
星月不相逢
星月不相逢 2020-12-08 00:34

I have a list and I\'d like to set one item as class=\"active\" automatically. Given the following bootstrap code:

12条回答
  •  旧时难觅i
    2020-12-08 01:03

    I made an ember-cli addon that handles this:

    https://github.com/alexspeller/ember-cli-active-link-wrapper

提交回复
热议问题