dist/vue-clipboards.es.js
function listenNodeList(nodeList, type, callback) {
    Array.prototype.forEach.call(nodeList, function(node) {
        node.addEventListener(type, callback);
    });

    return {
        destroy: function() {
            Array.prototype.forEach.call(nodeList, function(node) {
                node.removeEventListener(type, callback);
            });
        }
    }
}
function listenNodeList(nodeList, type, callback) {
    Array.prototype.forEach.call(nodeList, function(node) {
        node.addEventListener(type, callback);
    });

    return {
        destroy: function() {
            Array.prototype.forEach.call(nodeList, function(node) {
                node.removeEventListener(type, callback);
            });
        }
    }
}
function listenNodeList ( nodeList , type , callback ) { Array . prototype . forEach . call ( nodeList , function ( node ) { node . addEventListener ( type , callback ) ; } ) ; return { destroy : function ( ) { Array . prototype . forEach . call ( nodeList , function ( node ) { node . removeEventListener ( type , callback ) ; } ) ; } } }
Add an event listener to a list of HTML elements
and returns a remove listener function.

@param {NodeList|HTMLCollection} nodeList
@param {String} type
@param {Function} callback
@return {Object}
Add an event listener to a list of HTML elements and returns a remove listener function .