This commit is contained in:
syuilo
2017-02-18 17:40:07 +09:00
parent c83302bb80
commit 7602f16727
3 changed files with 9 additions and 7 deletions

View 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
});
};