Jump to content
Search Community

How can I able to scroll horizontally in a limited place?

Mukhriddin test
Moderator Tag

Recommended Posts

Hey Mukhriddin,

 

You'd need to listen for scroll/wheel events over that panel and then link the animation up to that. Or just use native horizontal scrolling I guess!

If you want to listen for events you can use our observer plugin to make your life easier.
Here's the link to the docs, https://greensock.com/docs/v3/Plugins/Observer

Why don't you give it  go - we're here if you have questions!

Link to comment
Share on other sites

You're right, observer isn't directly related to horizontal scrolling. But it's a way to capture pretty events, get data back and then you can do whatever you want with that data.

This thread should give you a hand!
 

 

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.
×
×
  • Create New...