Jump to content
Search Community

svyar

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by svyar

  1. data(){
      return{
        value: {
          total: 0
        }
      }
    },
    mounted(){
       gsap.to(this.value,1, {
         total: 1000
       });
    },

    This contruction now not working.

    Error:   Converting circular structure to JSON
        --> starting at object with constructor 'Object'
        |     property '_gsap' -> object with constructor 'GSCache'
        --- property 'target' closes the circle

  2. There are 4 same sized pictures that's I have cut in 4 equal parts, the problem is I can't make them animate on hover.  The part I have hovereda should become wider. 
    I tried to make it this way - 

     

    but this example doesn't work with reactive variables in Vue, I'd declared in object with coordinates.


     

    See the Pen YJZmZd by naraxiss (@naraxiss) on CodePen

×
×
  • Create New...