Add attribute property to ng-star-inserted child created dynamically

21 views
Skip to first unread message

Benjamin Gautier Ortiz

unread,
Mar 20, 2020, 1:08:47 PM3/20/20
to angular-material2

Hi, im trying to add attribute "validatorTarget" to a dynamically created <div class="mat-form-field-underline ng-tns-c269-7 ng-star-inserted">...</div>, in docs is not present.

I want add attribute, something like:
<div class="mat-form-field-underline ng-tns-c269-7 ng-star-inserted" validatorTarget>...</div>,

Exist way to perform this in a global way?

thanks in advance

Reply all
Reply to author
Forward
0 new messages