.window() Suggest edits
Change focus to another window or close the current window. Shouldn't normally be used directly, instead .switchWindow()
and .closeWindow()
should be used.
Usage
.window(httpMethod, handleOrName, [callback])
Parameters
Name | Type | description |
---|---|---|
method |
string | The HTTP method to use. Can be either |
handleOrName |
string | The window to change focus to. |
callback Optional |
function | Optional callback function to be called when the command finishes. |