()
| 154 | |
| 155 | htmlarea.innerHTML = ""; |
| 156 | htmlarea.append(html); |
| 157 | |
| 158 | return html; |
| 159 | } |
| 160 | changed(html: HTMLElement) { |
| 161 | this.warndiv = html; |
| 162 | this.buttonList.append(html); |
| 163 | } |
| 164 | watchForChange() {} |
| 165 | save() {} |
| 166 | submit() {} |
| 167 | } |
| 168 | |
| 169 | class TextInput implements OptionsElement<string> { |
| 170 | readonly label: string; |
| 171 | readonly owner: Options; |
| 172 | readonly onSubmit: (str: string) => void; |
| 173 | value: string; |
| 174 | input!: WeakRef<HTMLInputElement>; |
| 175 | password: boolean; |
| 176 | spaceReplace: string; |
| 177 | name: string; |