Animate On Scroll With Vue JS

Поделиться
HTML-код
  • Опубликовано: 18 ноя 2024

Комментарии • 107

  • @Webnoob
    @Webnoob  5 лет назад +4

    Vue 3 is around the corner! Getting started with this tutorial: ruclips.net/video/fZStE3DpFes/видео.html

  • @jakobjensen1472
    @jakobjensen1472 3 года назад +3

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

  • @kevinkobori7036
    @kevinkobori7036 4 года назад +5

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

  • @juralaes123
    @juralaes123 4 года назад +2

    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

    • @Webnoob
      @Webnoob  4 года назад +1

      Great to hear! High Five 🖐🙂

  • @ikaiyanasaki4198
    @ikaiyanasaki4198 5 лет назад +2

    I honestly consider you my main source of advanced Vue knowledge. I knew everything there was to know about Vue but i was always seeking a mentor to get ideas from when it comes to crafty and creative Vue front-end designing and you are by far the best I've found.
    Thank you so much for your amazing knowledge transfer.
    I would love to work with you and support you.

    • @Webnoob
      @Webnoob  5 лет назад

      Thank you for your words of encouragement, that motivates me enormously. If you want to support me then I would be happy if you become a patron. You can also join my discord at any time. The links can be found in every video description or in the About section.
      I always look for suggestions. If you want to see a specific topic, please let me know. 🙂

    • @ikaiyanasaki4198
      @ikaiyanasaki4198 5 лет назад +1

      @@Webnoob I will 100% join your discord and become your patreon. One suggestion i strongly have is a crafty tabs component for displaying tabbed content. Most libraries have boring tabs. It would be amazing to see your crafty version of a really nice tab component.
      Thanks.

    • @Webnoob
      @Webnoob  5 лет назад +1

      That’s a fantastic Idea. It‘s on my todo list now. ✌️🙂

  • @cosmic_voyager_
    @cosmic_voyager_ 4 года назад +1

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

    • @Webnoob
      @Webnoob  4 года назад +1

      Glad to hear that 😎

  • @maskman4821
    @maskman4821 5 лет назад +5

    Thank you so much for this tutorial, I have learned something new !!!

    • @Webnoob
      @Webnoob  5 лет назад

      Hey welcome back Stephan ✌️😁That’s amazing and my work finally makes sense 😂

  • @adrdra7709
    @adrdra7709 2 года назад

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

  • @josetomasberrios2971
    @josetomasberrios2971 3 года назад

    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

  • @therageee
    @therageee 5 лет назад +2

    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!

    • @Webnoob
      @Webnoob  5 лет назад +2

      Thank you for your comprehensive feedback. I know that my Vue skills are better than my English. I continue learning. But funny is that only my compatriots complain about my accent. People from other countries give so far only positive feedback on my accent and how I explain the topics. My accent is part of my personality and it will always stay that way. Why should I sound fluent? Most of my viewers are not from English speaking countries. There are many great people from India, Indonesia, Brazil, Egypt or Russia and many other countries watching my videos. Don't worry, I will not take it personally. 😉
      In Dresden bin ich aufgewachsen 😄

    • @therageee
      @therageee 5 лет назад +1

      @@Webnoob Good point! 😄 I guess you really only pay attention to the accent if you know it's origin.

    • @samuelnmeje
      @samuelnmeje 4 года назад +1

      Use subtitles, when your are looking for solutions accent would be the least of your worries.

  • @Tahir-Boxing
    @Tahir-Boxing 4 года назад +2

    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

    • @Webnoob
      @Webnoob  4 года назад +1

      Yes, you can set an else block in the directive in which you can remove the CSS class 'enter'. And you have to delete the line with the unobserve method in the if block to keep the observe status.

    • @Tahir-Boxing
      @Tahir-Boxing 4 года назад +1

      @@Webnoob great!! its working... first there was an error "'animatedScrollObserver' is defined but never used". So I had to remove it from ".....(entries, animatedScrollObserver)".
      Thanks again!!!

    • @Webnoob
      @Webnoob  4 года назад

      Oh yeah, I forgot about that, sorry!

  • @NurthinAziz
    @NurthinAziz 4 года назад +1

    This was really easy to follow and implement thanks!!

    • @Webnoob
      @Webnoob  4 года назад

      It’s my pleasure 🙂

  • @digitalservices118
    @digitalservices118 4 года назад +1

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

    • @Webnoob
      @Webnoob  4 года назад +2

      First, you should remove the unobserve function in the scrollanimation.js. And then you can use an else block for removing the enter class, if the entry is not intersecting. Or you can add another one for a fade-out animation or something like that. Keep it going 😉

  • @samuelnmeje
    @samuelnmeje 4 года назад +2

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

    • @Webnoob
      @Webnoob  4 года назад

      It's my pleasure. Often you don't really always need an additional library for simple things.

  • @Satoabi
    @Satoabi 2 года назад

    Gawd
    I needed this

  • @JenuelDevTutors
    @JenuelDevTutors 3 года назад +1

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

    • @Webnoob
      @Webnoob  3 года назад +1

      Glad you like it and thanks for your feedback. 🙂

  • @muhammadanshorjihadi7382
    @muhammadanshorjihadi7382 3 года назад

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

  • @teguwarrior
    @teguwarrior 5 лет назад +1

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

    • @Webnoob
      @Webnoob  5 лет назад

      Yes, as long as I don't run out of ideas. ;-)

  • @viktorbrunza4880
    @viktorbrunza4880 3 года назад

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

  • @IranerJonesGeheim
    @IranerJonesGeheim 3 года назад +1

    So nice and easy, thank you dude!

    • @Webnoob
      @Webnoob  3 года назад

      My pleasure, dude ;-)

  • @madepureorganics7211
    @madepureorganics7211 4 года назад +1

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

    • @Webnoob
      @Webnoob  4 года назад

      Browser compatibility? developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API#Browser_compatibility

  • @sherieklappenbach853
    @sherieklappenbach853 5 лет назад +1

    Great video and awesome explained! Thanks!

    • @Webnoob
      @Webnoob  5 лет назад

      Thank you for taking the time to watch the video!

  • @muhamedelsayed2127
    @muhamedelsayed2127 4 года назад +1

    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 .

    • @Webnoob
      @Webnoob  4 года назад

      You can use or add some options for a Directive as I use in this video: ruclips.net/video/x__aHTNyu6E/видео.html

  • @chideraugo6878
    @chideraugo6878 3 года назад

    very well done, man. thanks

  • @theapein
    @theapein 4 года назад +1

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

    • @Webnoob
      @Webnoob  4 года назад

      I made this project with Vue in version 2 and it doesn't work with Vue 3, but I have a quick migration tutorial on my channel that might help you: ruclips.net/video/yO3XPzqklvE/видео.html

  • @jasper4ni433
    @jasper4ni433 3 года назад +1

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

    • @Webnoob
      @Webnoob  3 года назад

      Keep attention on which mode you're using Nuxt.js The IntersectionObserver is only available in the browser (Client Side).

    • @cricadev
      @cricadev 2 года назад

      @@Webnoob what do we do if we need it in SSR mode?

  • @tenariusstuff7303
    @tenariusstuff7303 4 года назад +1

    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.

    • @Webnoob
      @Webnoob  4 года назад

      Of course, but the translateY value is the starting point in this case. And I highly recommend observing the element as the last step.

  • @BIMALRAJ007
    @BIMALRAJ007 3 года назад +1

    Thank You Bro

    • @Webnoob
      @Webnoob  3 года назад

      Keep it going ;-)

  • @ProgrammingwithPeter
    @ProgrammingwithPeter 5 лет назад +1

    Great! I really love your videos!

    • @Webnoob
      @Webnoob  5 лет назад +1

      Nice that you're back and take the time to watch. Your tutorials are really enjoyable. Keep up the great work!

    • @ProgrammingwithPeter
      @ProgrammingwithPeter 5 лет назад +1

      @@Webnoob yours looks better, tutorials like! I was always here, but because of lots of notifications, I miss some videos.

  • @dwightanglehart1388
    @dwightanglehart1388 Год назад

    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?

    • @jasminb4042
      @jasminb4042 Год назад

      Hello Dwight, could you solve the problem from the user Faruq? I think this is a Problem when you use Vue 3 instead of Vue 2.

  • @nielshaugstrup2606
    @nielshaugstrup2606 5 лет назад +2

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

    • @Webnoob
      @Webnoob  5 лет назад

      This is an interesting question. I think one way would be to register the directive as a Vue plugin. It’s a normal javascript file, in the end. But I haven’t tested this yet. It’s only an idea. 😁

    • @spiderous
      @spiderous 5 лет назад +1

      Since it's just vanilla JS you can reference every section of your page and access it as normal DOM element by this.$refs and then add new class to it.

    • @Webnoob
      @Webnoob  4 года назад +1

      @Spiderous That's an interesting point, thanks for the hint. Unbelievable how many ways we can go to solve these kinds of stuff.

    • @spiderous
      @spiderous 4 года назад +1

      @@Webnoob That's why I love programming. Multiple solutions that people can come up with, not to compete but to help each other. :)

  • @kuuoo42
    @kuuoo42 3 года назад

    Does this work with vue3?

  • @monarchgam3r
    @monarchgam3r 3 года назад

    Please continue making vue videos

  • @hassanaguezoum3477
    @hassanaguezoum3477 3 года назад

    hmmm niiiiiice tutorial thank u :)

  • @liferc
    @liferc 4 года назад +1

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

    • @Webnoob
      @Webnoob  4 года назад

      Happy to help!

  • @basic_t339
    @basic_t339 4 года назад +1

    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?

    • @basic_t339
      @basic_t339 4 года назад

      for e.g, and then in css .slide-enter{}

    • @Webnoob
      @Webnoob  4 года назад +1

      Yeah, of course, it's possible! I would prefer different CSS classes here. You can also combine additional classes using SCSS.

    • @mazneon
      @mazneon 4 года назад

      @@Webnoob I don't know how to do this :(

    • @muhamedelsayed2127
      @muhamedelsayed2127 4 года назад

      @@basic_t339 @Webnoob it didn't work :(

    • @muhamedelsayed2127
      @muhamedelsayed2127 4 года назад

      @@basic_t339 @Webnoob it didn't work :(

  • @temitayokara6328
    @temitayokara6328 4 года назад

    thanks alot for all your videos

    • @Webnoob
      @Webnoob  4 года назад

      Glad it was helpful ✌️

  • @sherieklappenbach853
    @sherieklappenbach853 4 года назад +1

    🤩🙌🏻🏆 BEST explained! ♥️

    • @Webnoob
      @Webnoob  4 года назад

      Thanks, it's my pleasure. 😊

  • @ВасилийЛупан-э8с
    @ВасилийЛупан-э8с 4 года назад +1

    very nice, thanks

    • @Webnoob
      @Webnoob  4 года назад +1

      Thank you 🙏 for watching my stuff 🙂

  • @abdi_pie7266
    @abdi_pie7266 3 года назад

    Thx, hopeful stuff

  • @evy32329
    @evy32329 4 года назад +1

    Thanks 🌸

    • @Webnoob
      @Webnoob  4 года назад

      No problem ☕

  • @mohammadaliafrasiaby2347
    @mohammadaliafrasiaby2347 2 года назад

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

  • @ZickPranks
    @ZickPranks 4 года назад +1

    Very nice.

    • @Webnoob
      @Webnoob  4 года назад

      My pleasure 😇

  • @wijaksanapanji
    @wijaksanapanji 5 лет назад +2

    Like for using bali as example

    • @Webnoob
      @Webnoob  5 лет назад

      Beautiful place ✌️🙂

  • @heyyy4987
    @heyyy4987 5 лет назад +1

    Amazing.. Thanks again

    • @Webnoob
      @Webnoob  5 лет назад

      Hey Andre, thx for watching ✌️

  • @heartfilterer9863
    @heartfilterer9863 2 года назад

    Is it right to use vanilla js in vue please reply

    • @cricadev
      @cricadev 2 года назад

      absolutely bro

  • @СергейГорбачев-о8х
    @СергейГорбачев-о8х 3 года назад +1

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

    • @jonyonee
      @jonyonee 3 года назад

      Мне он тоже помог

  • @hosseinhaghparast5670
    @hosseinhaghparast5670 4 года назад +1

    didnt work for me , whole page goes to blank

    • @Webnoob
      @Webnoob  4 года назад +1

      Sounds like a feature 😄

  • @Venipa
    @Venipa 3 года назад

    are u german? i can literally hear it

  • @cricadev
    @cricadev 2 года назад

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