Tutorial: Notification.create

Notification.create

Deprecated. fin.Notification has been deprecated and will be removed by major version 22.Please migrate to the Notification Center API.

Creates a new Notification.

Example

fin.Notification.create({
    url: 'https://cdn.openfin.co/docs/javascript/stable/tutorial-Notification.create.html',
    timeout: 3000
}).show().then(() => console.log('Notification created')).catch(err => console.log(err));