[Vuejs]-Custom directive why does only the unbind hook get called?

-1👍

I guess you are missing the params with the function call in bind

function (el, binding, vnode)

So it is unable to get the element to bind to and the propeties for binding.

Leave a comment