Prevents a user from changing a window's size/position when using the window's frame
Example
async function disableUserMovement() {
const app = await fin.Application.create({
name: 'myApp',
uuid: 'app-3',
url: 'https://cdn.openfin.co/docs/javascript/stable/tutorial-Window.disableFrame.html',
autoShow: true
});
await app.run();
const win = await app.getWindow();
return await win.disableUserMovement();
}
disableUserMovement().then(() => console.log('Window is disabled')).catch(err => console.log(err));