Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 373 Bytes

blockly.menugeneratorfunction_typealias.md

File metadata and controls

11 lines (7 loc) · 373 Bytes

MenuGeneratorFunction type

A function that generates an array of menu options for FieldDropdown or its descendants.

Signature:

export type MenuGeneratorFunction = (this: FieldDropdown) => MenuOption[];

References: FieldDropdown, MenuOption