drag Questions
2
Solved
I'm working on a little script that makes an object (div or img) moveable and zoomable within a given frame.
However I came across a few problems I'm not really sure of, because I'm a javascript b...
Johore asked 7/2, 2016 at 10:22
2
Solved
I'm using a html5 canvas + some javascript (onmousedown/move/up) to create simple draw pad on a webpage.
Works OK in Opera, Firefox, Chrome, etc (tried on desktop PCs). But if I visit this page w...
Cis asked 2/4, 2012 at 11:12
5
I design a WPF form with Window Style=None. So I Cannot see the drag bar in the form. How can I move the Form with WindowStyle=None Property?
2
Solved
I'm trying to build a jQuery plugin that allows you to drag and draw a rectangle (or a div with a border) but I'm not sure how to do it. I don't know of any that currently have this ability so I do...
Gatha asked 16/1, 2012 at 18:47
3
With the new drag and drop feature of the @angular/cdk (I'm currently using version 7.0.0-beta.2), is it possible to cancel a drag-action?
I did not find a matching function on 'CdkDrag' which cou...
Tuttle asked 2/10, 2018 at 12:6
3
Is there an easy way to handle the movement event composed of click and drag to the left or to the right on a div, in order to do a classic slider.
The idea is to do something similar to the scroll...
2
I am currently working on a Dashboard with movable and resizable views. The problem I have now is that I want to resize the view by touch gestures. Therefore, I thought of a Point which I add to a ...
0
I've integrated the React DND library into my React + Redux application but I'm having some troubles troubleshooting an error that happens when a DragSource leaves a DropTarget.
The problem is: w...
Tiki asked 20/9, 2018 at 17:16
4
I’m trying to setup an onDrag Listener for a google map fragment, but can’t get the drag event to fire. Since the map doesn't support drag events directly, I'm trying to implement a drag listener f...
Outthink asked 20/6, 2013 at 20:27
1
Solved
When dragging any circle in this d3 example, what prevents the circle's center from snapping to the mouse?
In other words: when you initiate a circle drag by clicking somewhere near the outer edg...
0
Is it possible to translate the following D3 snippet into "pure" ReactJS to avoid any interaction with the DOM from D3 (to let React handle it instead)?
// Dragging an SVG `g` element
d3Select(thi...
2
Solved
I have a editable polygon and I want to listen to events when a vertex is dragged(polygon resized) . Normally attaching the paths to 'set_at' event is good but it fires a lot of events when the who...
All asked 31/10, 2013 at 18:52
0
I have a web view on which I load HTML content for epub books. The web view content is paginated so the user can flip through the pages horizontally while reading the e-book.
I use onFlingDo to sw...
7
I have a scroll page that I specified two fingers minimum. It works on my device, but don't know how to mimic this gesture on Simulator. I can mimic one-finger scroll without problem. I've tried op...
2
I have created a window using the WS_EX_NOACTIVATE flag and it works great as far as not taking focus when you click the window. However when I drag the window or try to resize it, it doesn't redra...
3
I'm trying to write a drag & select functionality using HTML & JavaScript. By that I mean that there will be a set of objects with arbitrary absolute positions. I want to be able drag the c...
Fadge asked 1/5, 2011 at 20:24
2
Solved
I have this formula in Excel, in row E5:
=SUM(Banco!H$5;Banco!H$6;Banco!H$8;Banco!H$9;Banco!H$10;Banco!H$11)
I need it to change the COLUMN references instead of ROWS when I drag it down (basica...
3
Solved
A simple question. I used 4-6 hours to finding this but not found.
Example, Im building a panorama viewer : <a-sky>
<script src="https://aframe.io/releases/0.3.0/aframe.min.js">&l...
Antilebanon asked 21/9, 2016 at 13:22
3
Solved
Ok, so I have always wondered how do I actually pick up an image view and drag it. I was planning when I drag an image view and when user places it to correct location it locks there. I really don'...
Tremolite asked 27/6, 2011 at 22:12
1
Essentially i want to resize the green box by dragging the blue thing.
I'm trying to use OffsetLeft but is not working. also the drag event doesn't fire in Firefox.
And i have the code here: jsbin...
Longheaded asked 24/6, 2017 at 12:24
2
I am using google maps SDK for ios. I want to make a marker fixed in the center of the screen, so when user drags the map, the marker does not move and stays in the center. I am also trying to read...
Deeprooted asked 25/5, 2015 at 15:42
3
Solved
I have a (rather simple) question: How to "un-call" force.drag on a selection made by D3.js? Let's say I created a set of elements and called "call" on it, giving it the drag-callback of a force-di...
Grallatorial asked 30/10, 2012 at 9:48
2
Solved
2
Solved
Since I saw this menu drag concept, I have really been interested to find out how to accomplish it.
So I am wondering how I would go about dragging with a cloth-effect in a UIView?
I know how to ...
Hazem asked 10/12, 2013 at 21:2
2
Solved
I'm trying to put resizing handles on the four corners of a rectangle, which can be dragged to resize the rectangle. What I'm having trouble with is calculating the new width, new height, and new p...
Pyles asked 4/12, 2013 at 4:30
© 2022 - 2024 — McMap. All rights reserved.