Members
(static) config
Properties:
Name |
Type |
Description |
config |
|
Properties
Name |
Type |
Attributes |
Default |
Description |
jsExt |
String
|
<optional>
|
".jslocal"
|
The extension to use for Javascript files |
|
- Source:
Methods
(static) addFont(name, weight, filename)
Add a font dynamically loaded with font-face in CSS
Parameters:
Name |
Type |
Description |
name |
String
|
The name of the font |
weight |
String
|
The weight of the font |
filename |
String
|
The filename of the font (must be located in `app/assets/fonts`) |
- Source:
(static) addHelper(name, method)
Add an helper for the WebView
The methods `embedCSS` and `embedJS` are automatically exposed
Parameters:
Name |
Type |
Description |
name |
String
|
The name of the helper |
method |
function
|
The callback |
- Source:
(static) createView(args) → {Ti.UI.WebView}
Parameters:
Name |
Type |
Description |
args |
Object
|
Arguments for the view. |
- Source:
Returns:
-
Type
-
Ti.UI.WebView