in web-app-pix2info-python/src/frontend/scripts.js [464:479]
function onOutputOptionSelected(event) {
const item = event.detail.item
const value = item.value
if (item.onclick) return // Event handled differently (e.g. a command menu item)
if (OUTPUT_FORMATS.includes(value)) {
if (!item.checked) {
item.checked = true
return
}
for (const format of OUTPUT_FORMATS)
if (format !== value) elementWithValue(format).checked = false
}
onOutputOptionChanged(null)
}