Stay organized with collections
Save and categorize content based on your preferences.
blockly > Flyout > wheel_
Flyout.wheel_() method
Scroll the flyout.
Signature:
protected abstract wheel_(e: WheelEvent): void;
Parameters
Parameter |
Type |
Description |
e |
WheelEvent |
Mouse wheel scroll event. |
Returns:
void
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eFlyout.wheel_()\u003c/code\u003e method is responsible for managing the scrolling behavior of the flyout when the mouse wheel is used.\u003c/p\u003e\n"],["\u003cp\u003eThis method takes a \u003ccode\u003eWheelEvent\u003c/code\u003e as input, providing details about the scroll action performed by the user.\u003c/p\u003e\n"],["\u003cp\u003eIt's an abstract protected method, meaning it needs to be implemented by subclasses of \u003ccode\u003eFlyout\u003c/code\u003e to define the specific scrolling logic.\u003c/p\u003e\n"],["\u003cp\u003eThe method doesn't return any value, its purpose is solely to control the flyout's scrolling response to wheel events.\u003c/p\u003e\n"]]],["The `Flyout.wheel_()` method handles scrolling within a flyout, triggered by mouse wheel events. It accepts a `WheelEvent` object, denoted as 'e', containing details about the scroll action. This method is abstract and protected, implying it's intended for implementation in subclasses. No values are returned by this function.\n"],null,["[blockly](./blockly.md) \\\u003e [Flyout](./blockly.flyout_class.md) \\\u003e [wheel_](./blockly.flyout_class.wheel__1_method.md)\n\nFlyout.wheel_() method\n\nScroll the flyout.\n\n**Signature:** \n\n protected abstract wheel_(e: WheelEvent): void;\n\nParameters\n\n| Parameter | Type | Description |\n|-----------|------------|---------------------------|\n| e | WheelEvent | Mouse wheel scroll event. |\n\n**Returns:**\n\nvoid"]]