✌️
This commit is contained in:
8
src/web/app/desktop/scripts/notify.js
Normal file
8
src/web/app/desktop/scripts/notify.js
Normal file
@@ -0,0 +1,8 @@
|
||||
const riot = require('riot');
|
||||
|
||||
module.exports = message => {
|
||||
const notification = document.body.appendChild(document.createElement('mk-ui-notification'));
|
||||
riot.mount(notification, {
|
||||
message: message
|
||||
});
|
||||
};
|
Reference in New Issue
Block a user