File size: 314 Bytes
c225a63 | 1 2 3 4 5 6 7 8 9 | const _aq = !!true;
export function create( tag, clss, parent, properties ) {
const nd = document.createElement(tag);
if (clss) clss.split(" ").forEach((s) => nd.classList.add(s))
if (parent) parent.appendChild(nd);
if (properties) Object.assign(nd, properties);
return nd;
} |