Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

angular add html attribute on condition

<input [attr.attribute] = "condition ? '' : null" />
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #angular #add #html #attribute #condition
ADD COMMENT
Topic
Name
9+8 =