Tutorial: View.reload

View.reload

Reloads the window current page.

Example

async function reload() {
    const view = await fin.View.getCurrent();
    return await view.reload();
}

reload().then(() => {
        console.log('Reloaded view')
}).catch(err => console.log(err));