 {&#10;       var attrs = {};&#10;       Array.prototype.slice.call(el[0].attributes, 0).forEach(function(item) {&#10;         if (item.name !== &#39;show-attrs&#39;) {&#10;           attrs[item.name] = item.value;&#10;         }&#10;       });&#10;       return attrs;&#10;     }, function(newAttrs, oldAttrs) {&#10;       pre.textContent = JSON.stringify(newAttrs, null, 2);&#10;     }, true);&#10;   }&#10; });&#10;&lt;/script&gt;</code></pre>
    </div>
  

    <iframe class="runnable-example-frame" src="ex