Tutorial: Window.stopFlashing

Window.stopFlashing

Stops the taskbar icon from flashing

Example

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

stopWindowFlashing().then(() => console.log('Application window flashing')).catch(err => console.log(err));