({ key, value, isCommit, builder: instance })
| 188 | }, |
| 189 | }, |
| 190 | onInputChange({ key, value, isCommit, builder: instance }) { |
| 191 | if (key !== "output") return; |
| 192 | |
| 193 | const hasOutput = value.trim() !== ""; |
| 194 | instance.setElementVisibleById(instance.ids.overwrite, hasOutput); |
| 195 | |
| 196 | if (isCommit && !hasOutput) { |
| 197 | instance.setCheckboxField("overwrite", false, { refresh: false }); |
| 198 | } |
| 199 | }, |
| 200 | renderBody(code, api) { |
| 201 | const { |
| 202 | ids, |
nothing calls this directly
no test coverage detected