class CCPOutputWidgetController extends HTMLElement { #output = null; constructor(){ super() this.#output = JSON.parse(atob(this.getAttribute("output"))) } connectedCallback(){ this.innerHTML = this.render() } get name(){ return this.#output.id } get enabled(){ return this.querySelector("input").checked } render(){ return `