研究调查问卷:请告诉我们您使用 Blockly 的体验
开始调查问卷
blockly >FieldDropdown >MAX_MENU_HEIGHT_VH
下拉菜单的最大高度,以占视口高度的百分比表示。
Signature:
static MAX_MENU_HEIGHT_VH: number;
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-09-09。
[null,null,["最后更新时间 (UTC):2024-09-09。"],[[["`FieldDropdown.MAX_MENU_HEIGHT_VH` is a static property that defines the maximum height of a dropdown menu."],["This maximum height is represented as a percentage of the viewport's height, ensuring the menu doesn't exceed a certain proportion of the screen."],["`FieldDropdown.MAX_MENU_HEIGHT_VH` is a numerical value that dictates this percentage limit, helping control the visual presentation and usability of dropdown menus within Blockly."]]],["The `FieldDropdown.MAX_MENU_HEIGHT_VH` property defines the maximum height of a dropdown menu. This height is expressed as a percentage of the viewport height. It is a static number property, meaning it applies globally to all dropdown menus using the `FieldDropdown` class. This property determines how large the dropdown menu can be in relation to the visible screen area.\n"]]