Actions
Refactor #4694
closedUse ui-sref-active instead of ng-class where appropriate
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Web UI
Target version:
-
Description
See http://angular-ui.github.io/ui-router/site/#/api/ui.router.state.directive:ui-sref-active
We can then replace this:
<a class="{someClass: isState('blah')}" ui-sref="blah">Hello!</a>
with:
<a ui-sref-active="someClass" ui-sref="blah">Hello!</a>
Updated by John Mitsch over 5 years ago
- Status changed from New to Closed
Thanks for reporting this issue. This issue was created over 4 years ago and hasn't seen an update in 1 year. We are closing this in an effort to keep a realistic backlog. Please open up a new issue that includes a link to this issue if you feel this still needs to be addressed. We can then triage the new issue and reassess.
Actions