This question is related/similar to Using intl-tel-input and vuejs2 together , which is still unanswered.
And VueJS Use prop as data-attribute value which has a solution, but explains a bit the "environment".
So, long story short, I am dynamically setting up a new bootstrap tab (Title and URL), and then trying to (re)bind some functionality using jQuery
.
Adding the following line https://github.com/thecodeassassin/bootstrap-remote-data/blob/master/js/bootstrap-remote-tabs.js#L258 in my Vue method will apply the functionality, but only if I trigger the change twice.
The same issue with the first (unanswered) question.
Could someone explain a bit how the things work between vueJS
and jQuery
? And how to solve things, hopefully without needing to rewrite jQuery packages.
If I console.log
my variables just seem one step behind.
LE:
I have prepared a Pen for the related mentioned issue: https://codepen.io/AngelinCalu/pen/LWvwNq