How to unit test Angular directive with @input alias

前端 未结 0 937
挽巷
挽巷 2021-02-02 03:47

I want to show/hide elements according to a user\'s role (some buttons shall just be visible for admins for instance). This can be achieved with *ngIf, I believe a better approa

相关标签:
回答
  • 消灭零回复
提交回复
热议问题