src/js/utils/modal.js
function _setAttributes(el, attrs) {
  Object.keys(attrs).forEach((key) => {
    el.setAttribute(key, attrs[key]);
  });
}
function _setAttributes(el, attrs) {
  Object.keys(attrs).forEach((key) => {
    el.setAttribute(key, attrs[key]);
  });
}
function _setAttributes ( el , attrs ) { Object . keys ( attrs ) . forEach ( ( key ) => { el . setAttribute ( key , attrs [ key ] ) ; } ) ; }
Set multiple attributes on an element, via a hash
@param {HTMLElement|SVGElement} el The element to set the attributes on
@param {Object} attrs A hash of key value pairs for attributes to set
@private
Set multiple attributes on an element via a hash