Tutorial: Window.disableFrame

Window.disableFrame

Prevents a user from changing a window's size/position when using the window's frame

Example

async function disableFrame() {
    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.disableFrame();
}

disableFrame().then(() => console.log('Window is disabled')).catch(err => console.log(err));