Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resize element? #7

Closed
songsgroup opened this issue Jun 21, 2018 · 7 comments
Closed

resize element? #7

songsgroup opened this issue Jun 21, 2018 · 7 comments

Comments

@songsgroup
Copy link

can add resize element?

@anseki
Copy link
Owner

anseki commented Jun 21, 2018

Hi @songsgroup, thank you for the comment.
Of course you can resize the element.

@anseki
Copy link
Owner

anseki commented Jun 21, 2018

Do you mean that you want to resize another element (not draggable element) by dragging?

@songsgroup
Copy link
Author

I want to resize draggable element ,Is there an example?

@anseki
Copy link
Owner

anseki commented Jun 21, 2018

If you want to resize draggable element without dragging, you can do that by specifying just only the size, very easily.

For example:

draggable.element.style.width = '100px';
draggable.position(); // Update position

@songsgroup
Copy link
Author

thanks ,i want to resize draggable element with mouse drag move.
thanks.

@anseki
Copy link
Owner

anseki commented Jun 21, 2018

As I said, It seems that you want to resize another element (not draggable element) by dragging.
For example: https://jsfiddle.net/hbdf701g/

@anseki
Copy link
Owner

anseki commented Jun 23, 2018

No reply came, and I close this issue. 😢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants