The script file ej.widgets.all.min.js is a combination of Essential Javascript for Web (ej.web.all.min.js) and Mobile (ej.mobile.all.min.js) components. In Mobile source, input controls are auto initialized on document ready for Essential Javascript Mobile applications, hence mobile styles have been applied. To prevent auto initialization, we need to set the property App.renderEJMControlsByDef as false. Refer to the following code example.
And also, additional container (div) element with a data-role “AppView” will be created on initialization, in which AppView acts as a master page for Mobile applications. To prevent the initialization of AppView, we need to set the property App.preventAppviewInit as true. Refer to the following code example
The above mentioned code example has to be referred, next to ej.widgets.all.min.js script reference.
Note: The above mentioned properties has to be utilized, only when ej.widgets.all.min.js is referred, not in case of ej.web.all.min.js is referred.
|
This page will automatically be redirected to the sign-in page in 10 seconds.