Tutorial: Window.showAt

Window.showAt

Shows the window if it is hidden at the specified location

Example

async function createWin() {
    const app = await fin.Application.start({
        name: 'myApp',
        uuid: 'app-1',
        url: 'https://cdn.openfin.co/docs/javascript/stable/tutorial-Window.showAt.html',
        autoShow: true
    });
    return await app.getWindow();
}

async function showAt(left, top) {
    const win = await createWin();
    return await win.showAt(left, top)
}

showAt(580, 300).then(() => console.log('Showing at')).catch(err => console.log(err));