akudlac Posted March 23, 2023 Share Posted March 23, 2023 Hi, I was wondering if there's a best practice for dragging multiple elements at the same time. Some will have anchor links, some won't. I made a basic demo of the idea, using the container as the draggable element. Seems to work alright, but wasn't sure if there's a better way( classes maybe). Thanks. See the Pen ExeRWBo by akudlac (@akudlac) on CodePen Link to comment Share on other sites More sharing options...
GreenSock Posted March 24, 2023 Share Posted March 24, 2023 Sure, that seems like a very logical way to do it. There are other ways, of course, but I wouldn't say they're any "better" if this container approach works for your use case. Is there a problem you're having with the container approach? 1 Link to comment Share on other sites More sharing options...
akudlac Posted April 7, 2023 Author Share Posted April 7, 2023 No problem. It works surprisingly well. I was just curious if there was a recommended approach. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now