banana
banana copied to clipboard
Pre-load and post-load functions
Is there a way I can call some functions before loading the panels and another function after all the panels are loaded?
@harshinim I think you might be able to put the function inside services/dashboard.js => this.dash_load function, before loading the panels. Also, another place to put the function is in controllers/dash.js => $scope.init function.
However, I’m not sure yet where to put the function after all the panels are loaded. You probably will have to track which file makes a call to dash_load() and insert the function after it.
On Apr 23, 2015, at 5:19 PM, harshinim [email protected] wrote:
Is there a way I can call some functions before loading the panels and another function after all the panels are loaded?
— Reply to this email directly or view it on GitHub https://github.com/LucidWorks/banana/issues/171.