24 lines
545 B
JavaScript
24 lines
545 B
JavaScript
import { Mimes } from '../common/mime.js';
|
|
// Common data transfers
|
|
export const DataTransfers = {
|
|
/**
|
|
* Application specific resource transfer type
|
|
*/
|
|
RESOURCES: 'ResourceURLs',
|
|
/**
|
|
* Browser specific transfer type to download
|
|
*/
|
|
DOWNLOAD_URL: 'DownloadURL',
|
|
/**
|
|
* Browser specific transfer type for files
|
|
*/
|
|
FILES: 'Files',
|
|
/**
|
|
* Typically transfer type for copy/paste transfers.
|
|
*/
|
|
TEXT: Mimes.text
|
|
};
|
|
export const StaticDND = {
|
|
CurrentDragAndDropData: undefined
|
|
};
|