In the Web, I want to know the type and name of processing for moving an image to an arbitrary position by drag-and-drop.

Asked 2 years ago, Updated 2 years ago, 315 views

Note*Additional

This question has not been resolved because we have not received an answer to the following questions, but the fundamental problem of the questioner has been resolved and has been substantially resolved.

For more information, please check the author's comments in the Answer column.

What I want to do, but I don't understand

I would like to know the type and name of the process of moving the image to any position by dragging and dropping on the web.
The image should not be pulled from anywhere, but should already be in the specified position when the page is displayed.

In addition, when you can move an image to any area, I would like to adjust it to the center of the area (and preferably to the left).

"For a specific example, please visit the site shown in the ""Reference Material"" column below."

What do you want me to answer?

The following are the four points.I gave you four points, but I don't mind if it's a single one.

Current Key Usage Technologies

  • React.js

Estimated Operating Environment

One is supposed to be mouse and trackpad operation, and two is supposed to be tap operation.
I would be happy if 3 could be realized together.Unknown is fine.

I'm sorry I couldn't specify it specifically, but the web browser type can be viewed by the browser type and version used in so-called households, so you don't need to consider, for example, Versionx.x.x, which is currently 3% IE.

What appears to be a blinding article found in the current situation survey

References

We expect the following behavior.

The image size is also very close to the ideal site.

javascript html5 reactjs

2022-09-30 21:55

1 Answers

Now that I have confirmed the existence of a library that acts quite close to what I want to achieve, I will post it.

I asked this question because I wanted to try it one by one by searching after understanding the name, but I found something that I could use one by one.
Therefore, the questions on this page itself may remain unresolved, but I would like to resolve them once.

Thank you to everyone who worked hard.


2022-09-30 21:55

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.