banana icon indicating copy to clipboard operation
banana copied to clipboard

Pre-load and post-load functions

Open harshinim opened this issue 10 years ago • 1 comments

Is there a way I can call some functions before loading the panels and another function after all the panels are loaded?

harshinim avatar Apr 23 '15 10:04 harshinim

@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.

athana avatar Apr 30 '15 05:04 athana