mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
support drag and drop for playlist items
This commit is contained in:
parent
80929558e6
commit
fd64c014a3
45 changed files with 4202 additions and 3 deletions
16
dashboard-ui/bower_components/dragula.js/test/lib/events.js
vendored
Normal file
16
dashboard-ui/bower_components/dragula.js/test/lib/events.js
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
'use strict';
|
||||
|
||||
function raise (el, type, options) {
|
||||
var o = options || {};
|
||||
var e = document.createEvent('Event');
|
||||
e.initEvent(type, true, true);
|
||||
Object.keys(o).forEach(apply);
|
||||
el.dispatchEvent(e);
|
||||
function apply (key) {
|
||||
e[key] = o[key];
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
raise: raise
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue