assets/dashboard/vendor/html5sortable.js
function addData(element, key, value) {
        if (value === undefined) {
            return element && element.h5s && element.h5s.data && element.h5s.data[key];
        }
        else {
            element.h5s = element.h5s || {};
            element.h5s.data = element.h5s.data || {};
            element.h5s.data[key] = value;
        }
    }
function addData(element, key, value) {
        if (value === undefined) {
            return element && element.h5s && element.h5s.data && element.h5s.data[key];
        }
        else {
            element.h5s = element.h5s || {};
            element.h5s.data = element.h5s.data || {};
            element.h5s.data[key] = value;
        }
    }
function addData ( element , key , value ) { if ( value === undefined ) { return element && element . h5s && element . h5s . data && element . h5s . data [ key ] ; } else { element . h5s = element . h5s || { } ; element . h5s . data = element . h5s . data || { } ; element . h5s . data [ key ] = value ; } }
Get or set data on element
@param {HTMLElement} element
@param {string} key
@param {any} value
@return {*}
Get or set data on element