开发者

get all elements under a mouse drag selection

开发者 https://www.devze.com 2022-12-25 04:40 出处:网络
You guys would have seen the image cropping tool which has a selection option (marque tool) created in javascript.

You guys would have seen the image cropping tool which has a selection option (marque tool) created in javascript. http://marqueetool.net/examples/ Like this i want to get all elements under a selection.

For example in windows we have mouse group selection of files and folders by dragging the mouse to select multi开发者_高级运维ple files. Like that i need to get all the elements under a selection in javascript. I can try other gimmicks but if there could be a simple tool then i can speed up my work.


have a look at the selectable ui , does exactly that lol ...

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号