Jump to content
GreenSock

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

changing the cursor white Tween "happens"

Recommended Posts

I am using TweenLite.to to change a path when a clipped svg is hovered. I change the cursor on mouseover event (which triggers the Tween). I would like to "reset" the cursor (to default) when the tween is done, but tween seems to be modeless, so execution follows downstream. How can I handle this?

 

thanks

Link to post
Share on other sites

Hello Antonio, and welcome to the GreenSock Forum!

 

To better help you can you please provide a limited codepen example so we can see your code live and in action.

 

Here is a great video tut by GreenSock on How to create a codepen example!

 

 

You could always us a special callback onComplete to add a class with the new cursor property and value.

 

:)

  • 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.

×