Answers for "add attribute in html based on condition angular"

0

angular add html attribute on condition

<input [attr.attribute] = "condition ? '' : null" />
Posted by: Guest on January-13-2021

Code answers related to "add attribute in html based on condition angular"

Browse Popular Code Answers by Language