Type Alias: MenuOption
type MenuOption =
| [
| string
| ImageProperties
| HTMLElement, string, string?]
| "separator";
Defined in: packages/blockly/core/field_dropdown.ts:1032
An individual option in the dropdown menu. Can be either the string literal
separator for a menu separator item, or an array for normal action menu
items. In the latter case, the first element is the human-readable value
(text, ImageProperties object, or HTML element), and the second element is
the language-neutral value.