first commit
This commit is contained in:
1
modules/polyfills/datatransfer.js
Normal file
1
modules/polyfills/datatransfer.js
Normal file
@@ -0,0 +1 @@
|
||||
function DataTransfer(){this.dropEffect="move",this.effectAllowed="all",this._data={}}Object.defineProperty(DataTransfer.prototype,"types",{get:function(){return Object.keys(this._data)},enumerable:!0,configurable:!0}),DataTransfer.prototype.clearData=function(type){null!=type?delete this._data[type]:this._data={}},DataTransfer.prototype.getData=function(type){return this._data[type]||""},DataTransfer.prototype.setData=function(type,value){this._data[type]=value};
|
||||
Reference in New Issue
Block a user