angular add html attribute on condition

41

angular add html attribute on condition -

<input [attr.attribute] = "condition ? '' : null" />

Comments

Submit
0 Comments