index.js
334 Bytes
import ConfirmDialog from './confirm-dialog';
import createApi from 'utils/create-api';
ConfirmDialog.install = function(Vue) {
Vue.component(ConfirmDialog.name, ConfirmDialog);
createApi(
Vue,
ConfirmDialog,
['confirm', 'cancel', 'close', 'btn-click', 'link-click'],
true,
);
};
export default ConfirmDialog;