add function to copy data to drag transfer event (#51)
This commit is contained in:
parent
669f6ddf93
commit
2c45978286
|
@ -175,6 +175,10 @@ export class ViewComponent implements OnDestroy, OnInit {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setTextDataOnDrag(event: DragEvent, data: string) {
|
||||||
|
event.dataTransfer.setData('text', data);
|
||||||
|
}
|
||||||
|
|
||||||
async downloadAttachment(attachment: AttachmentView) {
|
async downloadAttachment(attachment: AttachmentView) {
|
||||||
const a = (attachment as any);
|
const a = (attachment as any);
|
||||||
if (a.downloading) {
|
if (a.downloading) {
|
||||||
|
|
Loading…
Reference in New Issue