On Load:
When loading your answerSpace, either via an appshell or via the browser as a web app, certain processes take place:
Firstly, the BIC is downloaded onto the device - this will set up the environment needed to run and display your answerSpace.
If running within an Appshell, Cordova and any plugins are also loaded.
The BIC will then download the answerSpace configuration, client side code interactions, and the forms definitions.
CSS and External Javascript libraries that you have included in the answerSpace configuration settings are also loaded.
Finally your answerSpace is displayed to the user.
Throughout this process, a number of Javascript events are fired, allowing you to hook into functionality at certain times.
BIC2 events:
https://github.com/blinkmobile/snippets/blob/master/javascript/answerSpace-events.js
BIC3 events (jQueryMobile):
http://api.jquerymobile.com/category/events/
BIC3 also implemented RequireJS, meaning you can also time any Javascript code you’re using to only run after certain resources are available, such as jQuery or Forms objects.
During this process, if running an an appshell, the user will see a splash screen that you can set during the appshell building process. As a web app, the user will see a loading notice or loading dots, depending if you’re using BIC2 or BIC3.