How to execute my javascript in different instances of a block on the Screen
Application Type
Mobile, Reactive

So, I am doing a pattern and it's working when I execute only once on the screen, but when I have more than one instance of the pattern, the javascript doesn't work completely and it's because it was not created/updated the javascript to the new instances(i think).

  

I already try to see how to build constructors or new instances and run at the same time, with different values for each id, but it doesn't work.


Thank you!

Kind regards,

Márcio

Hi Marcio, 

I think, You should put your javascript inside web block (or block). It would be always novice at wherever of pattern instances created.

You can share some screenshot it will be more helpful.


Hope this may help,

Regard, 

Rahul


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.