lib/multi-wrap-guide-view.js
// Creates a new HTMLElement with given type and classes.
Creates a new HTMLElement with given type and classes.
Creates a new HTMLElement with given type and classes .
function createElement (type, ...classes) {
  const element = document.createElement(type)
  for (const c of classes) {
    element.classList.add(c)
  }
  return element
}
function createElement ( type , ... classes ) { const element = document . createElement ( type ) for ( const c of classes ) { element . classList . add ( c ) } return element }
Creates a new HTMLElement with given type and classes.
Creates a new HTMLElement with given type and classes .