import document from '/unify/document.js'; export default class checkbox{ boxDisplay = "table-cell"; customElement = document.createElement("input"); autoUpdate = true; inputType = "checkbox"; useCustomElement = true; editable = true; layers = 2; parseChildren = false; setType( type ) { this.inputType = type; } setup() { this.customElement.setAttribute( "value", this.id ); this.customElement.setAttribute( "type", this.inputType ); } }