An application developer is working on a hybrid application. The application developer needs to display a modal message to the user indicating that data is being loaded, while this data is retrieved from the server.
Which code snippet can the application developer use to display this message?
A. WL.ModalMessage.show(‘Loading…’);
B. WL.BusyIndicator.show(‘Loading…’);
C. var busyInd = new WL.BusyIndicator (null, {text : ‘Loading…’}); busyInd.show();
D. var modalMsg = new WL.ModalMessage (‘content’, {text : ‘Loading…’}); modalMsg.show();