By default, Mobile JS control’s UI changes with respect to the platform, such as IOS7, Android, and Windows and gets rendered. To render the controls irrespective of its platform, you can set the specific UI theme as an attribute in the head tag as mentioned in the following code example. In the following example, iOS theme gets rendered in all devices.
The attributes for different render mode are listed here. A Theme, or render mode, called “Flat” provides generic appearance in all platforms instead of its native appearance.
1. IOS7 – data-ej-ios7 =”true”
2. Android – data-ej-android = “true”
3. Windows – data-ej-windows = “true”
4. Flat – data-ej-flat = “true” (Generic theme)
You can make the application to be rendered with a common theme in all devices using this method.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|