mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-27 09:06:43 -06:00
11 lines
217 B
TypeScript
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);
|
||
|
}
|