OnPageLoad event handling
I want to get little information about handling the behavior of OnPageLoad event in Justinmind simulation. Let me explain by an example:
Suppose you have 20 dynamic panels on a screen and want to assign some calculated width to all of them when the page loads. I can do it in two ways right now; First, add OnPageLoad event on screen and apply the calculated width to all dynamic panels. Second, add OnPageLoad event on all panels individually and apply the calculated width.
Both methods have their own pros and cons, suppose in the first case, if I do it at screen level I have to select all components in prototype, suppose I have 100+ components I can't do in so detail. in the second case, there will be individual OnPageLoad event call on 100+ components.
I want to ask, How you handle OnPageLoad event in JIM simulation. Is it just one call for both cases or 100 calls for the second case? Which method is performance-optimized and effective?