Angular template: Use variable as DOM element type

前端 未结 0 658
终归单人心
终归单人心 2020-12-04 16:13

I have a component and would like to render it as div or span dynamically. So I defined an input variable elementType. Now I would like to render i

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