Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Dynamic alternate content for HTML5 Drag & Drop #861

Open
dmesinger opened this issue Dec 20, 2013 · 7 comments
Open

Dynamic alternate content for HTML5 Drag & Drop #861

dmesinger opened this issue Dec 20, 2013 · 7 comments

Comments

@dmesinger
Copy link

In HTML5 drag and drop doesn't suuport dynamic information for setdrag(). It only allows for an alternate image. My article will be how to manipulate native drag and drop with some simple js to achieve this.

@PaulKinlan
Copy link
Member

Interesting. Can you provide more details about how this is done and when
it should be used?
On 20 Dec 2013 15:05, "dmesinger" notifications@github.com wrote:

In HTML5 drag and drop doesn't suuport dynamic information for setdrag().
It only allows for an alternate image. My article will be how to manipulate
native drag and drop with some simple js to achieve this.


Reply to this email directly or view it on GitHubhttps://github.com//issues/861
.

@dmesinger
Copy link
Author

hey Paul, thanks for getting back to me. So I am working on an app., and
we are using native drag and drop. However, business asked if there were a
way when dragging multiple items to show an alternate image to represent
multiple items but also provide a count. The approach was to make a hidden
html element and on drag swap the items for this element. This way I could
push the data from the selected items into the hidden element along with
the count and when you dragged the transparent preview of the dragged
element was of the hidden element I had built. Not of the items selected.

On Fri, Dec 20, 2013 at 11:29 AM, Paul Kinlan notifications@github.comwrote:

Interesting. Can you provide more details about how this is done and when
it should be used?
On 20 Dec 2013 15:05, "dmesinger" notifications@github.com wrote:

In HTML5 drag and drop doesn't suuport dynamic information for
setdrag().
It only allows for an alternate image. My article will be how to
manipulate
native drag and drop with some simple js to achieve this.


Reply to this email directly or view it on GitHub<
https://github.com/html5rocks/www.html5rocks.com/issues/861>
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/861#issuecomment-31021799
.

Dylan Mesinger
Front-end Technical Lead
Ernst & Young - Atlanta

@PaulKinlan
Copy link
Member

Sorry for the delay. I will have a bit more of a think about this soon.

@dmesinger
Copy link
Author

take your time I'm not going anywhere. If you have any ideas about the
topic I would be interested to hear them. I wrestled with this a bit, it
felt hacky but it was the only thing I could think of to solve the gap.

On Mon, Dec 30, 2013 at 3:55 AM, Paul Kinlan notifications@github.comwrote:

Sorry for the delay. I will have a bit more of a think about this soon.


Reply to this email directly or view it on GitHubhttps://github.com//issues/861#issuecomment-31337679
.

Dylan Mesinger
Front-end Technical Lead
Ernst & Young - Atlanta

@dmesinger
Copy link
Author

Hey Paul, I'm going to have some time this weekend to put some work into
the IE aspect of this so I wanted to know if you had any thoughts.

On Mon, Dec 30, 2013 at 9:32 AM, dylan mesinger dylan.mesinger@gmail.comwrote:

take your time I'm not going anywhere. If you have any ideas about the
topic I would be interested to hear them. I wrestled with this a bit, it
felt hacky but it was the only thing I could think of to solve the gap.

On Mon, Dec 30, 2013 at 3:55 AM, Paul Kinlan notifications@github.comwrote:

Sorry for the delay. I will have a bit more of a think about this soon.


Reply to this email directly or view it on GitHubhttps://github.com//issues/861#issuecomment-31337679
.

Dylan Mesinger
Front-end Technical Lead
Ernst & Young - Atlanta

Dylan Mesinger
Front-end Technical Lead
Ernst & Young - Atlanta

@PaulKinlan
Copy link
Member

Sorry for the delay. I am not sure the current focus is exactly where I want us to head on h5r. Areas that I am interested in are cross platform drag and drop patterns. Where and when they make sense to use them on desktop, tablet and mobile.

@dmesinger
Copy link
Author

sounds more ;like a UX thing than a code thing. Ok, thanks Paul

On Mon, Feb 3, 2014 at 6:25 PM, Paul Kinlan notifications@github.comwrote:

Sorry for the delay. I am not sure the current focus is exactly where I
want us to head on h5r. Areas that I am interested in are cross platform
drag and drop patterns. Where and when they make sense to use them on
desktop, tablet and mobile.

Reply to this email directly or view it on GitHubhttps://github.com//issues/861#issuecomment-34013413
.

Dylan Mesinger
Front-end Technical Lead
Ernst & Young - Atlanta

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

No branches or pull requests

2 participants