(label: string, textContent: string, onSubmit: () => void)
| 1547 | addSelect( |
| 1548 | label: string, |
| 1549 | onSubmit: (str: number) => void, |
| 1550 | selections: readonly string[], |
| 1551 | {defaultIndex = 0, radio = false} = {}, |
| 1552 | ) { |
| 1553 | const select = new SelectInput(label, onSubmit, selections, this, { |
| 1554 | defaultIndex, |
| 1555 | radio, |
| 1556 | }); |
| 1557 | this.options.push(select); |