Tutorial: window.wrap

window.wrap

Returns a Window object that wraps an existing window.

Example

var win = fin.desktop.Window.wrap("uuid", "name");

win.getOptions(function (options) {
    console.log("The window options: ", JSON.stringify(options));
});