angular add html attribute on condition

35

angular add html attribute on condition -

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

Comments

Submit
0 Comments