How to get host component instance in directive without knowing its type in Angular8+?

前端 未结 0 533
我在风中等你
我在风中等你 2021-01-15 14:32

I am creation a custom "i18n" directive to update textual value in attributes of host component. So I came across a scenario that is, when the host component is a

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