angular div contenteditable 属性,实现数据双向绑定
<div style="display:inline-block;min-width: 150px;" contenteditable="true" [textContent]="data.Score" (input)="data.Score=$event.target.textContent"> {{ data?.Score }} </div>
<div style="display:inline-block;min-width: 150px;" contenteditable="true" [textContent]="data.Score" (input)="data.Score=$event.target.textContent"> {{ data?.Score }} </div>