Handbook · Reference · Blockly · Dialogs
Blockly: Dialogs
Where in the UI. Scripts tab toolbox.
Alerts, toasts, confirms, pickers, SVG dialogs.
| Block id | Read as | Purpose |
|---|---|---|
containd_show_alert | show alert | dismissible alert (no return) |
containd_show_toast | show toast | non-blocking toast (no return) |
containd_show_confirm | show confirm | callHost(showConfirm) → true | false |
containd_show_choice | show choice | callHost(showChoice) → 'A' | 'B' | 'cancel' |
containd_show_text_input | show text input | callHost(showTextInput) → text | null (cancel) |
containd_show_color_picker | show color picker | callHost(showColorPicker) → color | null (cancel) |
containd_show_svg_dialog | show svg dialog | dispatchBuiltin(showSvgDialog) — catalog SVG; colors override item text/border when provided |