src/LiveDevelopment/Agents/RemoteFunctions.js
function _trigger(element, name, value, autoRemove) {
        var key = "data-ld-" + name;
        if (value !== undefined && value !== null) {
            element.setAttribute(key, value);
            if (autoRemove) {
                window.setTimeout(element.removeAttribute.bind(element, key));
            }
        } else {
            element.removeAttribute(key);
        }
    }
function _trigger(element, name, value, autoRemove) {
        var key = "data-ld-" + name;
        if (value !== undefined && value !== null) {
            element.setAttribute(key, value);
            if (autoRemove) {
                window.setTimeout(element.removeAttribute.bind(element, key));
            }
        } else {
            element.removeAttribute(key);
        }
    }
function _trigger ( element , name , value , autoRemove ) { var key = "data-ld-" + name ; if ( value !== undefined && value !== null ) { element . setAttribute ( key , value ) ; if ( autoRemove ) { window . setTimeout ( element . removeAttribute . bind ( element , key ) ) ; } } else { element . removeAttribute ( key ) ; } }
set an event on a element
set an event on a element