Hello, i need to call a function without an event. In each item of the ngFor i need to call function “Detalles” with the param “Item”. How i can do this?.Thanks for the time
Because in each of the “Items” I have a primary key, which is linked to a table in MySQL. For each one of them I send this primary key and I get rows in which I would cross them with the other ngFor
You are thinking backward. Don’t have the template do the work. The controller (ts file) does the work, and the template displays it after the work is done. Bind your ngFor to an array that has already been processed. Don’t bind the ngFor to a raw Observable from an exterior source.
Please describe what you are actually trying to do as if you are speaking to somebody who has never even heard of Ionic or JavaScript. I strongly suspect you have XYed yourself down a rabbit hole of bad design.