( owner: Options | Form, onchange?: InstancePicker["onchange"], button?: HTMLButtonElement, instance?: string, )
| 1103 | innerDiv.append(this.clearbutton); |
| 1104 | } |
| 1105 | div.append(innerDiv); |
| 1106 | return div; |
| 1107 | } |
| 1108 | } |
| 1109 | |
| 1110 | class HtmlArea implements OptionsElement<void> { |
| 1111 | submit: () => void; |
| 1112 | html: (() => HTMLElement) | HTMLElement; |
| 1113 | value!: void; |
| 1114 | constructor(html: (() => HTMLElement) | HTMLElement, submit: () => void) { |
| 1115 | this.submit = submit; |
| 1116 | this.html = html; |
| 1117 | } |
| 1118 | generateHTML(): HTMLElement { |
| 1119 | if (this.html instanceof Function) { |
| 1120 | return (this.html = this.html()); |
nothing calls this directly
no outgoing calls
no test coverage detected