Tutorial: Window.getInfo

Window.getInfo

Gets an information object for the window.

Example

async function getInfo() {
    const app = await fin.Application.create({
        name: 'myApp',
        uuid: 'app-1',
        url: 'https://www.openfin.co',
        autoShow: true
    });
    await app.run();
    const win = await app.getWindow();
    return await win.getInfo();
}

getInfo().then(info => console.log(info)).catch(err => console.log(err));