Jump to content
Search Community

Sıradışı Digital

Members
  • Posts

    20
  • Joined

  • Last visited

Posts posted by Sıradışı Digital

  1. I'm using nuxtjs 3 and the @hypernym/nuxt-gsap package. I want to use splittext but I get the following error. Can you help with this?

    const { $gsap } = useNuxtApp();
    onMounted(() => {
      var childSplit = this.SplitText(".text-animation", {type: "lines"});
      console.log(childSplit);
    });

    My Error :

     

    index.vue:144 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'SplitText')

  2. Thanks, what I was trying to do was as follows.

     

    scrollTrigger: { trigger: container+" svg", start: "top+=20% center", end: "bottom-=20% center", toggleActions: "play none reverse none", markers: true }

    I was getting an error when I did it this way. That's all it takes to do. thank you for your time.

     

    const item = container.querySelectorAll("path");
  3. Hello, I have a sample project at codepen.io. The image opens when you scroll down the page. When it goes up, the picture turns off. I just want the picture to open when it goes down. When you go up again, the picture does not turn off. Animation needs to run once. Would you help me with this topic?

    See the Pen bGjeorr by mrtsiradisi (@mrtsiradisi) on CodePen

×
×
  • Create New...