MFPInit.js
1.45 KB
IBM MFP custom init
EditedSnippet to initialize IBM MobileFirst Framework
You have to write below mentioned code snippet in order to initialize your application when you are using IBM MFP.
This snippet will be useful for Mobile Application as well as Web Application. For this snippet to work you have to configure <mfp:clientCustomInit enabled="true" />
instead of <mfp:clientCustomInit enabled="false" />
in config.xml file. This configure will prevent automatic initialization of MobileFirst framework.
mfpjsloaded
event will be executed when MobileFirst js file is loaded and it completes bootstrapping other necessary resources.
Please
register
or
sign in
to comment