mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-15 17:31:43 +08:00
16 lines
342 B
JavaScript
16 lines
342 B
JavaScript
export default {
|
|
install: (Vue, options) => {
|
|
Vue.directive('ant-ref', {
|
|
bind: function (el, binding, vnode) {
|
|
binding.value(vnode)
|
|
},
|
|
update: function (el, binding, vnode) {
|
|
binding.value(vnode)
|
|
},
|
|
unbind: function (el, binding, vnode) {
|
|
binding.value(null)
|
|
},
|
|
})
|
|
},
|
|
}
|