What is the best way to run a script once the entire View has loaded, params, components, tag subscriptions and all? Is this possible at the moment?
Additionally, what about at least when all View
params are loaded?
onStartup event seems to happen at the very start when the view is launched, and seems to run concurrently to everything else loading, so you can’t guarantee that anything else is loaded when this is run.
Context: I sometimes have lists for things like Flex Repeaters that are generated by script from the params that are passed in, but these need to run once at least the params passed into the View are set.
I’ve resorted at the moment to running this script off an on change of a custom prop that is bound to a param, but this doesn’t work if the param hasn’t changed…