EmbyCrackedClient/web/modules/polyfills/datatransfer.js

1 line
468 B
JavaScript
Raw Normal View History

2025-06-25 11:46:04 +08:00
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};