agentscript
Version:
AgentScript Model in Model/View architecture
9 lines (8 loc) • 338 B
JavaScript
await fetch('/uielements/uielements.html')
// await fetch('/uielements/uielements.html')
.then(response => response.text())
.then(html => {
// Insert the HTML content for the menu into the DOM
document.body.insertAdjacentHTML('afterbegin', html)
console.log('uielements.html loaded and parsed')
})