2015-10-03 01:57:40 +08:00
|
|
|
---
|
|
|
|
layout: docs
|
|
|
|
title: DraggableImg
|
2015-10-04 04:56:58 +08:00
|
|
|
edit_url: "https://github.com/nylas/N1/blob/master/src/components/draggable-img.cjsx"
|
2015-10-03 01:57:40 +08:00
|
|
|
---
|
2015-10-02 03:34:16 +08:00
|
|
|
|
2015-10-03 01:57:40 +08:00
|
|
|
<h2>Summary</h2>
|
2015-10-02 03:34:16 +08:00
|
|
|
|
2015-10-03 01:57:40 +08:00
|
|
|
<div class="markdown-from-sourecode">
|
|
|
|
<p><p>Images are supposed to by default show a ghost image when dragging and
|
2015-10-02 03:34:16 +08:00
|
|
|
dropping. Unfortunately this does not work in Electron. Since we're a
|
|
|
|
desktop app we don't want all images draggable, but we do want some (like
|
|
|
|
attachments) to be able to be dragged away with a preview image.</p>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
|
2015-10-03 01:57:40 +08:00
|
|
|
<ul>
|
|
|
|
</ul>
|