Jump to content
Search Community

Draggable parent by Y with child by X

Yandex.Technologies LLC test
Moderator Tag

Recommended Posts

Greetings, dear community! 

I’m currently in a task I cannot solve on my own.

I want to create a parent Draggable element, which is supposed to move along the axis (f.e. Y) and to have a child element which has to be a trigger to move a parent along the other axis (f.e. X). 

 

Here’s an example in codepen.

See the Pen yLOoQNY by belyanskii (@belyanskii) on CodePen

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