javascript - jQuerying content made by VueJS -
i sure has been answered before new vuejs not know correct terminology.
i have table of data created vue (<template v-for="group in groups">
etc). gets information ajax call in vue object's ready()
method. (this.$set('groups', response.data.groups);
each cell of table span element want to... $('.pie').peity();
on convert text svg.
where should code placed?
if doing right after table loaded, try using vue's nexttick:
this.$nexttick(function() { $('.pie').peity(); });
Comments
Post a Comment