Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
DevMonk

minX/maxX missing in typings for Draggable

Recommended Posts

Hey Team,

 

We've been working with all GSAP modules for a long time and it's great. Love the additions and included types for Typescript support.

Today I've noticed that the minX/minY readonly properties are missing from the types in draggable.d.ts causing an error.

 

The maxX/maxY properties are there: 

readonly maxX: number;
readonly maxY: number;

Maybe we need to use other properties, but I've been using minX/minY for a long time already.

  • Thanks 1
Link to post
Share on other sites

Thanks for pointing that out. We'll add those to the TypeScript definitions in the next release. 👍

  • Like 1
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×