Jump to content
Search Community

Sagi Karni

Members
  • Posts

    9
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Sagi Karni's Achievements

2

Reputation

  1. Ok, I have managed... Changed my TS definition file
  2. Hi, I'm trying to start using gsap in Vue with Typescript application. I started to download gsap using npm (npm i gsap). Then I wanted to import the library by : import { TweenLite, Linear } from 'gsap'; Then i got the following error : "cannot resolve definitions for module gsap" I assumes I need to install typescript definition (right ?) npm install @types/greensock and added the following in the tsconfig.app.json "types": ["greensock"] Now I get the following error : Duplicated Identifier 'Animation' (see atached screen) Any advice ? Thx Sagi
  3. Exactly what I was needed,. Thanks !!!
  4. Hi , I would approciate if you could help with the following scenario. I would like yo use a dragable object (lets assume a rectangle ) on top of an image (or any div with a background image) which is completely hidden exept the arae inside this dragable object (e.g. "Drag me"). The drag expirience should be as the following codepen demo The attached image illustrate how the image looks like and how it should look like when the only part that is not hidden is the dragable object area. Thanks Sagi
×
×
  • Create New...