Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #40005
| Newsgroups | comp.lang.javascript |
|---|---|
| Date | 2021-04-22 06:32 -0700 |
| References | <GZmdnUP_cuJyWx39nZ2dnUU7-UPNnZ2d@westnet.com.au> |
| Message-ID | <29f2f91c-9888-47da-a313-31bef75267d3n@googlegroups.com> (permalink) |
| Subject | Re: Drag resize library |
| From | "Michael Haufe (TNO)" <tno@thenewobjective.com> |
On Wednesday, April 21, 2021 at 7:44:40 PM UTC-5, Andrew Poulos wrote: > Is there a library anyone can recommend which: > > - when an element is selected, and it is set as draggable/resizable, > handles appear around the element > > - can attach custom buttons to the handles. > > - can move elements about > > - can resize elements. If you drag from the corner of the element the > resizing maintains the element's aspect ratio. > > - trigger events when an element has been moved or resized. > > - can nominate an area that limits the element ie. the element cannot be > dragged out of the area nor can it be resized larger than the area nor > overlap the edges of the area. > > - is not run as a module or requires jQuery, React, Vue... > > The ones I've looked in detail at, including interactjs, moveablejs, > don't seem to work well enough and I'm kind of hoping not needing to > write one myself. Writing one I don't think is too bad. I'll try my hand at it today if I find some free time and someone doesn't post an acceptable solution soon.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Drag resize library Andrew Poulos <ap_prog@hotmail.com> - 2021-04-22 10:44 +1000
Re: Drag resize library "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2021-04-22 06:32 -0700
Re: Drag resize library Andrew Poulos <ap_prog@hotmail.com> - 2021-04-23 12:50 +1000
Re: Drag resize library Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-23 00:32 -0700
Re: Drag resize library Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-23 00:35 -0700
Re: Drag resize library Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-23 00:43 -0700
Re: Drag resize library Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-04-23 00:39 -0700
Re: Drag resize library "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2021-04-24 13:50 -0700
Re: Drag resize library "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2021-04-25 22:14 -0700
csiph-web