1
0
mirror of https://github.com/misskey-dev/misskey synced 2025-01-07 02:14:08 +09:00
misskey/src/web/app/desktop/api/notify.ts
2018-02-21 02:53:34 +09:00

11 lines
217 B
TypeScript

import Notification from '../views/components/ui-notification.vue';
export default function(message) {
const vm = new Notification({
propsData: {
message
}
}).$mount();
document.body.appendChild(vm.$el);
}