1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-20 17:48:44 +09:00
cherrypick/src/web/app/desktop/api/notify.ts

11 lines
217 B
TypeScript
Raw Normal View History

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