X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775:/docs/source/NativeDD.html diff --git a/docs/source/NativeDD.html b/docs/source/NativeDD.html deleted file mode 100644 index 98feb45f..00000000 --- a/docs/source/NativeDD.html +++ /dev/null @@ -1,62 +0,0 @@ - - - The source code - - - - -
-
/** - * @class Ext.air.DragType - * - * Drag drop type constants - * - * @singleton - */ -Ext.air.DragType = { -
/** - * Constant for text data - */ - TEXT : 'text/plain', -
/** - * Constant for html data - */ - HTML : 'text/html', -
/** - * Constant for url data - */ - URL : 'text/uri-list', -
/** - * Constant for bitmap data - */ - BITMAP : 'image/x-vnd.adobe.air.bitmap', -
/** - * Constant for file list data - */ - FILES : 'application/x-vnd.adobe.air.file-list' -}; - - -// workaround for DD dataTransfer Clipboard not having hasFormat - -Ext.apply(Ext.EventObjectImpl.prototype, { - hasFormat : function(format){ - if (this.browserEvent.dataTransfer) { - for (var i = 0, len = this.browserEvent.dataTransfer.types.length; i < len; i++) { - if(this.browserEvent.dataTransfer.types[i] == format) { - return true; - } - } - } - return false; - }, - - getData : function(type){ - return this.browserEvent.dataTransfer.getData(type); - } -}); - - -
- - \ No newline at end of file