Hi I Want to add JSON data to the Custom HTML Attribute. I Tried Below Format but it Throws Error Element not a Attribute Property of LI.
Here is the screenshot i want to pass data.
please help me to solve the issue.
Hi I Want to add JSON data to the Custom HTML Attribute. I Tried Below Format but it Throws Error Element not a Attribute Property of LI.
Here is the screenshot i want to pass data.
please help me to solve the issue.
<li [attr.data-thumb]="link + imtest.file">
Next time please paste code.
Try this code
<li [attr.data-thumb]="link+imtest.file">
<img [src]="link+imtest.file" class="testing">
</li>