VUE2 Load button spinner dynamically - Isolate each spinner in V-FOR (VueJS)

preview_player
Показать описание
Quick tutorial explaining in VUE2 how to dynamically display buttons and when they are clicked on for the specific button to show a loading spinner and not all. Hope it helps!
Рекомендации по теме
Комментарии
Автор

Great tutorial, I think a lot of tutorials miss this complexity. It was nice to see someone expand on it.

Travisjterry
Автор

That was what I’m looking for. Thank you!

marioseek
Автор

This video saved me a lot of times !! keep making videos sir.

Yayna-od
Автор

Straight to the point, nice tutorial.

fleboho
Автор

vue directive is a good solution for the case like this

pawekwiecien
Автор

I'm new to Vue, long time jQuery user here. My reason for switching to VueJS and it's methodology for future projects is to get myself away from the issue not being able to rebinding of content after ajax calls etc. This has been the single biggest issue i've had with jQuery in general. The idea is that I shoudl be able to let the application continue working even on ajaxed content, not just the parent DOM. My hack was simply to inject <script>//**js goes here*//</script> with a near duplicate set of code that rebinds to the newly updated DOM. I've been a programmer for 25+ years... Js still continues to be a terrible thorn from time to time and sites like Stackoverflow have been completely useless for advanced topics.

TheHermitHacker
join shbcf.ru