UNPKG

bootstrap-vue

Version:

Bootstrap 4 Components for Vue.js 2

14 lines (11 loc) 323 B
import target from './_target'; const listen_types = {click: true}; export default { bind(el, binding) { target(el, binding, listen_types, ({targets, vm}) => { targets.forEach(target => { vm.$root.$emit('show::modal', target, el); }); }); } };