なんかもうめっちゃ変えた
This commit is contained in:
8
src/web/app/desktop/scripts/notify.ts
Normal file
8
src/web/app/desktop/scripts/notify.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import * as riot from 'riot';
|
||||
|
||||
export default message => {
|
||||
const notification = document.body.appendChild(document.createElement('mk-ui-notification'));
|
||||
(riot as any).mount(notification, {
|
||||
message: message
|
||||
});
|
||||
};
|
Reference in New Issue
Block a user