blockly > FieldDropdown > menuGenerator_
امضا:
protected menuGenerator_?: MenuGenerator;
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-11-14 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-11-14 بهوقت ساعت هماهنگ جهانی."],[[["`menuGenerator_` is a protected property of the `FieldDropdown` class that may or may not hold a value of type `MenuGenerator`."],["It is used by the `FieldDropdown` to dynamically generate a dropdown menu of options."],["The `MenuGenerator` type defines a function that returns an array of options, which can be strings or objects with a `text` and `value` property."]]],["The `menuGenerator_` property, found within the `FieldDropdown` class, is defined in the `blockly` library. It is a protected property, optionally of type `MenuGenerator`. This property is directly associated with how a dropdown menu is created and populated within the Blockly interface. Its type allows for custom menu generation logic.\n"]]