paricafe/src/web/app/desktop/scripts/notify.js
syuilo 7602f16727 ✌️
2017-02-18 17:40:07 +09:00

8 lines
211 B
JavaScript

const riot = require('riot');
module.exports = message => {
const notification = document.body.appendChild(document.createElement('mk-ui-notification'));
riot.mount(notification, {
message: message
});
};