.closeWindow() Suggest edits
Close the current window. This can be useful when you're working with multiple windows open (e.g. an OAuth login).
Uses window
protocol command.
Parameters
Name | Type | description |
---|---|---|
callback Optional |
function | Optional callback function to be called when the command finishes. |
Usage
this.demoTest = function (client) {
client.closeWindow();
};