Barba.js with GSAP - 15. Global Hooks

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • Learn how to scroll to the top of the new page after page transition.
    Working Files:
    github.com/Iha...
    Live Demo
    ihatetomatoes....
    Related Resources
    Barba.js - barba.js.org/
    Barba.js Demos Live Preview - ihatetomatoes....
    Barba.js Demos on Github - github.com/Iha...
    Barba.js 101 - Free Online Course
    Same as this playlist, just on my site, no ads, code snippets, track your progress, that is my home:)
    ihatetomatoes....
    Related Courses
    GreenSock 101 - Free
    ihatetomatoes....
    Practical GreenSock - Premium
    ihatetomatoes....
    Connect With Me
    Website - ihatetomatoes.net
    Twitter - / ihatetomatoes
    Instagram - / ihatetomatoes_code
    Facebook - / ihatetomatoesblog
    Twitch - / iht_blog

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

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

    holy shit im glad i found someone like you, I am going to watch all your videos for sure !

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

    Thank you so much for the great tutorial....

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

    Hi Peter you've done great tuts,help me a lot. I'm using Barba so far very happy but I've got problem with my scroll script to work with Barba. I've imported the folder with script and tried views and global hook but it works on hard reload only. some advice please , i looked on many web dev sites but not good results . Thanks

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

      You have to re-init any scripts after the new container loads.