ANGULAR - Set an attribute binding with Renderer2 and setProperty() on created element

后端 未结 0 1512
予麋鹿
予麋鹿 2021-01-15 20:33

I create a new element in the DOM with

const newTag = this.renderer2.createElement(\'g\', \'http://www.w3.org/2000/svg\');

Then I would like to ad

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