iceshrimp/src/web/app/desktop/scripts/notify.js
syuilo ac225d4ea6 🍣
Closes #12, #227 and #58
2017-03-18 20:05:11 +09:00

9 lines
209 B
JavaScript

import * as riot from 'riot';
export default message => {
const notification = document.body.appendChild(document.createElement('mk-ui-notification'));
riot.mount(notification, {
message: message
});
};