Animate On Scroll With Vue JS

Animate On Scroll With Vue JS

Webnoob

4 года назад

25,505 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Dwight Anglehart
Dwight Anglehart - 17.05.2023 21:56

Thank you for this tutorial because it is amazing! Question: is there a way to control the threshold for when an animation happens? That is, when intersectionObserver spots an intersection, is there a way to control at which distance on the page to spark the animation?

Ответить
Faruq
Faruq - 01.11.2022 18:35

Hi, the tutorial is really great, but i have a problem, in main js when I write Vue.directive('scrollanimation', ScrollAnimation); and add v-scrollanimation, on browser my project disappears, there is just nothing, it just becomes white, I do not know why it happens. I hope you know the answer.

Ответить
Cristian
Cristian - 19.07.2022 19:23

What if I want to add it to multiple instances of the same section or component, it's only observing one of them

Ответить
Satoabi
Satoabi - 21.01.2022 20:08

Gawd
I needed this

Ответить
Adr Dra
Adr Dra - 15.01.2022 17:35

Hi, i wanted to thank you because I'm pretty new at this and I've found this video really valuable.

Ответить
HEART FILTERER
HEART FILTERER - 25.12.2021 06:14

Is it right to use vanilla js in vue please reply

Ответить
mohammadali afrasiaby
mohammadali afrasiaby - 07.12.2021 15:23

where is the link of this project on git???

Ответить
Viktor Brunza
Viktor Brunza - 29.11.2021 22:25

Thank you, I like thia method no to hard and use native js.

Ответить
jose tomas berrios
jose tomas berrios - 30.08.2021 17:26

Hi! I have a problem, I don't know if you can help me.

For some reason the images are cut off or flickering before animation, how could I solve it

Ответить
Kuo
Kuo - 24.08.2021 03:34

Does this work with vue3?

Ответить
Сергей Горбачев
Сергей Горбачев - 21.08.2021 09:15

Привет из России и спасибо большое, помог разобраться!

Ответить
Jakob Jensen
Jakob Jensen - 10.08.2021 21:54

Hello Webnoob. Have you got any idea how to make this work in Vue 3?

Ответить
Chidera Ugo
Chidera Ugo - 23.07.2021 20:42

very well done, man. thanks

Ответить
Hassan Aguezoum
Hassan Aguezoum - 30.06.2021 17:01

hmmm niiiiiice tutorial thank u :)

Ответить
MONARCH
MONARCH - 15.06.2021 18:37

Please continue making vue videos

Ответить
Venipa
Venipa - 28.05.2021 13:44

are u german? i can literally hear it

Ответить
Abdi_Pie
Abdi_Pie - 07.05.2021 21:51

Thx, hopeful stuff

Ответить
Jasper4ni貓
Jasper4ni貓 - 05.04.2021 20:32

Hi i met some prob when i use in Nuxt.js, its keep showing IntersectionObserver is not defined, can u help me?

Ответить
Muhammad Anshor Jihadi
Muhammad Anshor Jihadi - 20.03.2021 16:58

Is there any library that contain many transition and css animation?

Ответить
BIMALRAJ S
BIMALRAJ S - 26.02.2021 22:49

Thank You Bro

Ответить
Bro Jenuel
Bro Jenuel - 03.02.2021 17:46

wow thansk for this tutorial its really helpful.... :) its the best tutorial for animation in VueJs... :)

Ответить
IranerJones
IranerJones - 20.12.2020 17:45

So nice and easy, thank you dude!

Ответить
ALieNNatioN
ALieNNatioN - 29.11.2020 12:14

Thank you. Your enunciation gave me cancer.

Ответить
theapein
theapein - 21.11.2020 13:46

I get the 'Vue' is not defined error. Does this work on vue3?

Ответить
Swarnab Mukherjee
Swarnab Mukherjee - 11.11.2020 08:03

Thanks a lot, after a lot of searching and going through numerous videos finally I found something which actually is useful

Ответить
Muhamed Elsayed
Muhamed Elsayed - 17.10.2020 14:50

The animation is working like magic on scroll , but what if have different animations for different elements on the same component ? I really need help .

Ответить
Juan Labrada
Juan Labrada - 30.09.2020 02:44

Thanks, I wanted to learn how to scrollanimate in VueJS but ended up learning about VueJS directives and InterseptionObserver in addition to ScrollAnimate. Great video

Ответить
Kevin Kobori
Kevin Kobori - 17.09.2020 19:11

The best Vue.js animation tutorial... thanks a lot bro! :D

Ответить
Василий Лупан
Василий Лупан - 21.07.2020 17:15

very nice, thanks

Ответить
Tenarius Stuff
Tenarius Stuff - 23.06.2020 15:08

Very awesome stuff on this channel! Thanks for that! Your accent sounds a little bit sachsen-germany ;-) You´re welcome! I have a question: is it possible to define the 'translateX'-value with the directive like 'v-scrollanimation="100"'? I tested
bind(el, binding) {
el.classList.add('before-enter');
animatedScrollObserver.observe(el);
el.style.transform = 'translateY(' + binding.value + 'px);'
}
but it does´nt work.

Ответить
Tahir Thomas Boxing
Tahir Thomas Boxing - 21.05.2020 16:13

Hi, thanks for the nice tutorial... its working. But I would like to have it work always when scrolling. Currently its only one time working when the page is loaded. Is there a quick solution for that?

Danke und Grüsse aus der Türkei

Ответить
Temitayo Kara
Temitayo Kara - 21.05.2020 12:10

thanks alot for all your videos

Ответить
Byte
Byte - 16.05.2020 21:55

// v-byte-intersect="{ class: 'translate-x', options: {rootMargin: '0px', threshold: 1.0}}"

const newIntersectionObserver = paramters => new IntersectionObserver(
(entries, observer) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
entry.target.classList.add(paramters.class + '-enter')
observer.unobserve(entry.target)
}
})
},
paramters.options
)
export default {
bind (el, binding) {
el.classList.add(binding.value.class + '-before')
newIntersectionObserver(binding.value).observe(el)
}
}

Ответить
Kiran Bandarupalli
Kiran Bandarupalli - 04.05.2020 22:40

Waste fellow you wasted my time

Ответить
Hossein Haghparast
Hossein Haghparast - 03.05.2020 14:55

didnt work for me , whole page goes to blank

Ответить
Made Pure Organics
Made Pure Organics - 12.04.2020 02:43

I got a IntersectionObserver is not defined error in scrollanimation.js, I ran npm install intersection-observer , but still getting the error, any clues?

Ответить
Hack Bar
Hack Bar - 08.04.2020 13:53

Is it possible to take binding value and do something similar to vue transition to set different animation for different elements in same vue component?

Ответить
Life RC
Life RC - 25.03.2020 16:54

Its working for me too!!! Plz teach me more animation.

Ответить
ZickPranks
ZickPranks - 12.03.2020 00:20

Very nice.

Ответить
sam
sam - 07.03.2020 02:29

this was fun and awesome, thanks a lot. i love your videos

Ответить
nutinhere
nutinhere - 23.02.2020 05:48

This was really easy to follow and implement thanks!!

Ответить
Sherie Klappenbach
Sherie Klappenbach - 10.02.2020 17:33

🤩🙌🏻🏆 BEST explained! ♥️

Ответить
Digital Services
Digital Services - 20.01.2020 09:35

thanks it is working fine. how to remove 'enter' class if it is not in viewport?

Ответить
Everkers Tv
Everkers Tv - 20.12.2019 12:26

Thanks 🌸

Ответить
Sherie Klappenbach
Sherie Klappenbach - 11.12.2019 16:26

Great video and awesome explained! Thanks!

Ответить
mhd ihsan
mhd ihsan - 08.12.2019 13:57

Thankyou, i hope you can make more video about animation and transition with vue

Ответить
Niels Haugstrup
Niels Haugstrup - 30.11.2019 18:51

Very nice tutorial. how would you integrate it with Nuxt.js?

Ответить
heyyy
heyyy - 27.11.2019 06:02

Amazing.. Thanks again

Ответить
milchbar
milchbar - 24.11.2019 15:44

Really enjoying the content, always learning something new, also the production quality of the videos is great too.
Now don't take this the wrong way, but I feel what's lacking is the audio quality in general and also the quite thick accent might turn viewers away and have them miss out on some really good vue-explanations.
Might want to work on that, if more exposure is something you are interested in.


I'm gonna keep watching regardless, keep the good stuff coming!


Grüße aus Dresden!

Ответить