Answer the question
In order to leave comments, you need to log in
VueJS: changing the binding parameter of a custom directive?
I decided to write a couple of directives, looked off. documentation and source codes for vue awesome directives.
It seems that I figured it out, everything is clear except for the moment with the parameters of the hooks.
Off documentation says:
All arguments other than el should be understood as read-only and should never be changed. If you need to pass information between hooks, we recommend using dataset.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question