Hello!
For an inline javascript snippet I’ve typically used this to run the snippet:
$(document.body).one('pageload',function(){<br> SOME CODE<br>}
However, this will only run the first time the component is rendered if the Skuid Page is embedded in a lightning component. If you navigate to a different page and then back to the previous page (importantly - this is internal navigation where a full page refresh doesn’t take place - e.g. navigating to a different page in a Salesforce Community) - then this inline javascript will not be re-executed.
So, in a nutshell - I need a way for the inline javascript to be executed each time the Skuid page in the lightning component is rendered.
Cheers!
Louis