User Tools

Site Tools


add_attribute_dynamically

Add Attribute Dynamically

How to add an HTML attribute to an element dynamically with Angular?

  <td [attr.contenteditable]="data.editable === true ? true : null">{{data.value}}</td>
add_attribute_dynamically.txt · Last modified: 2018/10/30 11:01 by mihael