1.0.1 ENABLE.window
Class: window
new ENABLE.window ( object )
Create instance of window
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
object
|
Object |
optional
|
- Since:
-
- 1.0.0
Properties:
Name | Type | Description |
---|---|---|
id
|
Number |
ID of this window |
Methods
-
close () {Object}
-
Close this window
- Since:
-
- 1.0.0
Returns:
Name Type Description object
Object Name Type Description status_code
String ENABLE.status.SUCCESS
orENABLE.status.ERROR
-
hide () {Object}
-
Hide this window
- Since:
-
- 1.0.0
Returns:
Name Type Description object
Object Name Type Description status_code
String ENABLE.status.SUCCESS
orENABLE.status.ERROR
-
loadUrl (url) {Object}
-
Load url in this window
Name Type Description url
String url to load (e.g. "http://www.entone.com")
- Since:
-
- 1.0.0
Returns:
Name Type Description object
Object Name Type Description status_code
String ENABLE.status.SUCCESS
orENABLE.status.INVALID_ARGUMENT
orENABLE.status.ERROR
-
show () {Object}
-
Show this window
- Since:
-
- 1.0.0
Returns:
Name Type Description object
Object Name Type Description status_code
String ENABLE.status.SUCCESS
orENABLE.status.ERROR