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
22 lines (16 loc) • 580 B
JavaScript
this.primevue = this.primevue || {};
this.primevue.useconfirm = (function (exports, vue) {
'use strict';
var PrimeVueConfirmSymbol = Symbol();
function useConfirm() {
var PrimeVueConfirm = vue.inject(PrimeVueConfirmSymbol);
if (!PrimeVueConfirm) {
throw new Error('No PrimeVue Confirmation provided!');
}
return PrimeVueConfirm;
}
exports.PrimeVueConfirmSymbol = PrimeVueConfirmSymbol;
exports.useConfirm = useConfirm;
Object.defineProperty(exports, '__esModule', { value: true });
return exports;
})({}, Vue);