Jump to content
Search Community

Mahmut Demir

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Mahmut Demir

  1. Hi OSUblake,

     

    thanks :). But i already use the scrolltrigger, sorry for not mentioning it. its In my index.vue:

    image.png.a934c00168d3eb1a956540a1bb00fefb.png

     

    the .myGSAP class is in the <gsapV1> tag in the very first picture i uploaded. And in that component i do some gsap magic. So my aim is, when the user scrolls down and reaches the component, the animations should start.

  2. I have an index.ts with several components imported. see image:

     

    image.png.d1299f30ab99bb8b73deb56265e3331e.png

     

    When the component is visible on my screen, i would like to trigger the animation in that specific component "gsapV1".

     

    the code looks like this:

     

    image.thumb.png.f1bc14a4f9f2864eeacd33e7af01260a.png

     

    for now, everytime i refresh the page, the "gsapV1" is already animated. how to trigger the animation when visible on screen?

     

    thanks.

×
×
  • Create New...