1.2.0 ENABLE.window

new ENABLE.window ( object )

Create instance of window

Name Type Description
object Object optional
Name Type Description
url String optional

Url to load in new window

Properties:
Name Type Description
id Number

ID of this window

Since:
  • 1.0.0

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 or ENABLE.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 or ENABLE.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 or ENABLE.status.INVALID_ARGUMENT or ENABLE.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 or ENABLE.status.ERROR