HTML Template vs defining HTML inside web component

前端 未结 0 389
说谎
说谎 2020-11-27 21:33

I can\'t seem to grasp or find out why you should use HTML templates with web components when you can simply define the HTML inside the web component (shadowRoot.innerHTML).

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