Device Resource

compared with
Current by Philip Breau
on Aug 15, 2014 12:53.


 
Key
These lines were removed. This word was removed.
These lines were added. This word was added.

View page history


There are 2 changes. View first change.

 h3. deviceResource
  
 This component renders the necessary head resources for a device, including the device-specific meta tags, the CSS stylesheets for the device theme, and required javascript.
  
 h3. Usage
  
 {code:xml}
 <h:head>
  <title>My Mobile App</title>
  <mobi:deviceResource theme="#{themeBean.currentTheme}"/>
 </h:head>
 {code}
  
 h4. Themes
 * *base*: Structural CSS required for custom themes or when using 3rd party jQuery Mobile Themes
 * *iphone*: iPhone Theme
 * *ipad*: iPad Theme
  * *iphone*: iPhone (iOS6) Theme
 * *ipad*: iPad (iOS6) Theme
 * *bberry*: BlackBerry 6/7 Theme
 * *bb10*: BlackBerry 10 Theme
 * *android_light*: Android Holo Light Theme
 * *android_dark*: Android Holo Dark Theme
 * *ios7*: iOS7 Theme
  
 h3. Component Documentation
 [deviceResource|http://res.icesoft.org/docs/icemobile/v1_latest/jsf/tld/mobi/deviceResource.html]

© Copyright 2016 ICEsoft Technologies Canada Corp.