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.