Encuesta de investigación: Cuéntanos sobre tu experiencia con Blockly
Comenzar encuesta
blockly > HorizontalFlyout > wheel_
Método HorizontalFlyout.wheel_()
Desplázate por el menú flotante.
Signature:
protected wheel_(e: WheelEvent): void;
Parámetros
Parámetro |
Tipo |
Descripción |
e |
WheelEvent |
Evento de desplazamiento de la rueda del mouse |
Muestra:
void
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2024-08-21 (UTC)
[null,null,["Última actualización: 2024-08-21 (UTC)"],[[["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"]]