Welcome to mirror list, hosted at ThFree Co, Russian Federation.

global_toast.js « plugins « vue_shared « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bfea2bedd403c10164be52ce5dc9e52ad3da1b66 (plain)
1
2
3
4
5
6
7
8
9
import { GlToast } from '@gitlab/ui';
import Vue from 'vue';

Vue.use(GlToast);
const instance = new Vue();

export default function showGlobalToast(...args) {
  return instance.$toast.show(...args);
}