new Starlet(url, name, identifier, title, type, width, height) → {Object}
Creates or returns a normalized starlet object.
Parameters:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
url |
String | Location of WebView. |
||
name |
String | Framework's identifier of WebView, used for inter-View messaging. |
||
identifier |
String | Folder containing starlet resources. |
||
title |
String | Display name. |
||
type |
String |
<optional> |
Determines features/capabilities of the WebView |
|
width |
Number |
<optional> |
1280 | Width of WebView |
height |
Number |
<optional> |
800 | Height of WebView |
- Source:
Returns:
- Type
- Object