Jump to content
Search Community

wefwef

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by wefwef

  1. I don't understand your solution. This is my current code

     

    const timeline = new TimelineMax()
          timeline
            .from(el, 0.850, {
              y: 50,
              opacity: 0,
              ease:Elastic.easeOut,
              onComplete: () => {
                done()
              }
            })
            .staggerFrom(this.$refs['fullscreen-nav-menu-item'], 1, {
              y: 50,
              opacity: 0,
              ease:Elastic.easeOut,
            }, 0.05, "-=0.8")

     

    Also, does this mean GSAP doesn't have something like this?

     

    opacity: {
              value: [0, 1],
              easing: 'easeOutExpo',
            }

     

  2. After 1-hour searching I give up! And decide to register on forum. 

     

    Is it possible to have separate easings for each values? For example here, opacity with this easing looks ugly, so I want opacity linear, while still having other stuff with easing

     

    timeline
            .from(el, 0.850, {
              y: 50,
              opacity: 0,
              ease:Elastic.easeOut,
              onComplete: () => {
                done()
              }
            })

     

    Is it possible?

×
×
  • Create New...