Jump to content
Search Community

Abdul Majeed

Members
  • Posts

    4
  • Joined

  • Last visited

Community Answers

  1. Abdul Majeed's post in GSAP - Uncaught TyperError: U is undefined from the cdn gsap.core js file was marked as the answer   
    Hi , Problem fixed, I edit my js file hero.js
     
    Before the hero.js file was look like this below:
    const tl = gsap.timeline({         defaults: { duration: 0.75, ease: "Power3.easeOut" }, });   tl.fromTo('.hero-img', {scale: 1.3})  
    I noticed in this tl.fromTo  i mentioned the from (Scale: 1.3) but i Forget to add To (Scale: 1), once i put the code like this below, My problem solved
    const tl = gsap.timeline({         defaults: { duration: 0.75, ease: "Power3.easeOut" }, });   tl.fromTo('.hero-img', {scale: 1.3}, {scale: 1})
×
×
  • Create New...