Jump to content

Anmol Juneja

Visibilty hidden not working

Recommended Posts

Hello all,

I am very new to GSAP and i want to visibility hidden after my animation complete and i tried every solution got from google and gsap forums, but it's not working.

now, i am adding


tl.set("#splash", {visibilty:"hidden"})

 at last to my timeline but it's not working. please help me. Thank you in advance.

Link to comment
Share on other sites

You have spelling mistake, try visibility


tl.set("#splash", {visibility:"hidden"}) 


  • Like 5
Link to comment
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.