I have a project in angular which interacts with an external web component something similar to this
<external-webcomponent params='{
"idUsuario": "667"
}' >
</external-webcomponent>
it happens that I can't pass the params attribute as a variable, it only works for me with static data as in the example, in my case I need to change the params attribute and send a new id to the idUuser, does anyone know what is the way in which they should be pass the data in that case?
I managed to pass the data dynamically in this way [attr.params]="getParametros()", however the component makes a call to an api and when I pass the data in that way the params are empty and when they are static yes they carry values, I don't know if it's a problem with angular or a problem with the component