html5 - Kendo ui mobile set default theme to flat ui -


im starting out kendo ui , running basic example below.

it displays ios want set flat ui theme time. cant see in demos or documentation state how this.

can tell me how change default theme flat design?

<!doctype html> <html> <head>  <!-- kendo ui mobile css --> <link href="styles/kendo.mobile.all.min.css" rel="stylesheet" />  <!-- jquery javascript --> <script src="js/jquery.min.js"></script> <!-- kendo ui mobile combined javascript --> <script src="js/kendo.mobile.min.js"></script>     <title>kendo ui examples</title> </head> <body>  <!-- kendo mobile view --> <div data-role="view" data-title="test" id="index">     <!--kendo mobile header -->     <header data-role="header">         <!--kendo mobile navbar widget -->         <div data-role="navbar">             <span data-role="view-title"></span>         </div>     </header>     <!--kendo mobile listview widget -->     <ul data-role="listview">       <li>item 1</li>       <li>item 2</li>     </ul>     <!--kendo mobile footer -->     <footer data-role="footer">         <!-- kendo mobile tabstrip widget -->         <div data-role="tabstrip">             <a data-icon="home" href="#index">home</a>             <a data-icon="settings" href="#settings">settings</a>         </div>     </footer> </div> <script> // initialize new kendo mobile application var app = new kendo.mobile.application(); </script>  </body> </html> 

you can override device/skin in declaration of app.

var app = new kendo.mobile.application($(document.body), { skin: 'flat' }); 

or can force using windows phone looking interface

var app = new kendo.mobile.application($(document.body), { platform: 'wp8' }); 

see documentation... http://docs.kendoui.com/api/mobile/application#configuration-platform


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -