Tutorial: Window.enableFrame

Window.enableFrame

Re-enables user changes to a window's size/position when using the window's frame

Example

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

enableFrame().then(() => console.log('Window is enabled')).catch(err => console.log(err));