Why can"t you render like this? you can"t control the modal pop-up
Why can"t you render like this? you can"t control the modal pop-up
{{something}} this is for inserting text. You can't use this method when binding input parameters, just pass in the variable name.
if you need to add -sharp before item.target , add -sharp to item in advance and return.,
the correct code should look like this:
[attr.data-target]="item.target"