Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
blockly > HorizontalFlyout > wheel_
Metoda levelFlyout.wheel_()
Przewiń menu.
Podpis:
protected wheel_(e: WheelEvent): void;
Parametry
Parametr |
Typ |
Opis |
e |
WheelEvent |
Zdarzenie przewijania kółkiem myszy. |
Zwroty:
nieważne
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-08-21 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 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"]]