Open mohit-pandey opened 7 years ago
This should work granted that the url is correct. This perhaps could be a timing issue. To test, try creating the notification subsequently from the command line with the desired URL. If that works, I would wrap that call to create in a fin.desktop.main()
call to ensure that the OpenFin API is ready, like so:
define(['notification.html'], function(notificationHTML) {
fin.desktop.main(function() {
new window.fin.desktop.Notification({
url: notificationHTML,
message: 'Hi, openfin notfication'
})
});
})
Hi, Is there any way to load URL using requireJS, like,