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

Popular posts from this blog

scala - 'wrong top statement declaration' when using slick in IntelliJ -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

PySide and Qt Properties: Connecting signals from Python to QML -