KITASENJU DESIGN BLOG

memo, html, javascript, unity

Entries from 2025-11-01 to 1 month

htmlのtemplateをcloneするときになぞエラーに直面

template#menu1 .menuPiece .title .tags const template = document.getElementById("menu1") as HTMLTemplateElement; const clone1 = template.content.cloneNode(true); //このclone1したものは普通のDOMではない。 //appendChildはなぜかできるんだけど…

"FOOTER"