Articles in this section
Category / Section

Can UI be applied automatically based on the OS?

1 min read

Yes, Syncfusion Mobile control’s UI and functionality changes automatically as per the OS where it gets rendered when data-ej-rendermode property value is set to auto. This makes the control to render based on the device as per the following code example.

HTML

<!--Button Rendering

<input type="button" data-role="ejmbutton" data-ej-text="Click" data-ej-rendermode="auto" id="btn" />

 

 

Note:

The default rendermode is auto. When you want a specific rendermode, you can set the rendermode as iOS7, android, windows, or flat.

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied