UNPKG

primevue

Version:

PrimeVue is an open source UI library for Vue featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBloc

2 lines (1 loc) 381 B
import e from"primevue/toasteventbus";import{PrimeVueToastSymbol as o}from"primevue/usetoast";var r={install:function(r){var t={add:function(o){e.emit("add",o)},remove:function(o){e.emit("remove",o)},removeGroup:function(o){e.emit("remove-group",o)},removeAllGroups:function(){e.emit("remove-all-groups")}};r.config.globalProperties.$toast=t,r.provide(o,t)}};export{r as default};