研究调查问卷:请告诉我们您使用 Blockly 的体验
开始调查问卷
blockly >HorizontalFlyout(水平飞出)>wheel_
HorizontalFlyout.wheel_() 方法
滚动浮出控件。
Signature:
protected wheel_(e: WheelEvent): void;
参数
参数 |
类型 |
说明 |
e |
WheelEvent |
鼠标滚轮滚动事件。 |
返回:
void
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-21。
[null,null,["最后更新时间 (UTC):2024-08-21。"],[[["The `wheel_` method enables scrolling functionality within the HorizontalFlyout."],["It's triggered by the `WheelEvent` when a user scrolls using their mouse wheel."],["The method takes the `WheelEvent` as input and adjusts the flyout's scroll position accordingly, improving user navigation."]]],["The `HorizontalFlyout.wheel_()` method handles flyout scrolling via mouse wheel events. It accepts a `WheelEvent` object as a parameter, representing the scroll event. The method's primary action is to scroll the flyout based on the wheel event data. It does not return any value, indicated by the `void` return type. The method is protected, meaning it can be called by subclasses of `HorizontalFlyout`.\n"]]