检查Angular2代码中的输入复选框

时间:2017-07-17 13:44:34

标签: html angular checkbox

我在更改输入的选中值时遇到问题。

我使用以下内容:

  

this.renderer.setElementAttribute(event.srcElement.parentElement.firstElementChild, “检查”, “真”);

其中firstElementChild分别被“检查”

0 个答案:

没有答案