mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-14 20:43:09 +02:00
9 lines
227 B
TypeScript
9 lines
227 B
TypeScript
import OS from '../../mios';
|
|
import Notification from '../views/components/ui-notification.vue';
|
|
|
|
export default (os: OS) => message => {
|
|
const vm = os.new(Notification, {
|
|
message
|
|
});
|
|
document.body.appendChild(vm.$el);
|
|
};
|