mirror of
https://github.com/OliveTin/OliveTin
synced 2025-12-16 02:55:39 +00:00
20 lines
458 B
JavaScript
20 lines
458 B
JavaScript
|
|
class ArgumentForm extends window.HTMLFormElement {
|
|
setup(json, callback) {
|
|
this.setAttribute('class', 'actionArguments')
|
|
this.title = document.createElement("h1")
|
|
this.title.innerHTML = "Action Arguments"
|
|
|
|
this.appendChild(this.title);
|
|
|
|
let a = document.createElement("span")
|
|
a.innerText = "Hi"
|
|
frm.appendChild(a)
|
|
|
|
|
|
console.log(json)
|
|
}
|
|
}
|
|
|
|
window.customElements.define('argument-form', ArgumentForm, { extends: 'form' })
|