1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-12-23 11:08:22 +09:00
MisskeyIO/src/web/app/desktop/scripts/notify.js

9 lines
211 B
JavaScript
Raw Normal View History

2017-02-18 17:40:07 +09:00
const riot = require('riot');
module.exports = message => {
const notification = document.body.appendChild(document.createElement('mk-ui-notification'));
riot.mount(notification, {
message: message
});
};